Organization policies

Allows you to define fine-grained access policies on your organization

List policies

get

List the IAM policies that are defined for this organization.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

Query parameters
limitinteger · min: 1 · max: 100Optional

Limits the number of results to return

Default: 10
pageTokenstringOptional

Pagination token that keeps of track of the current position in the list

reversebooleanOptional

Order in which to retrieve the results

Default: false
Responses
200

OK

application/json
get
/organizations/{organizationId}/iam-policies

Create policy

post

Create a new IAM policy for this organization.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

Body
namestringRequired

IAM Policy name.

descriptionstringOptional

IAM Policy description.

Responses
post
/organizations/{organizationId}/iam-policies

Get policy

get

Retrieve a single IAM policy.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

policyIdstringRequired

ID for an IAM policy

Responses
200

OK

application/json
get
/organizations/{organizationId}/iam-policies/{policyId}

Delete policy

delete

Remove an IAM policy from the organization.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

policyIdstringRequired

ID for an IAM policy

Responses
delete
/organizations/{organizationId}/iam-policies/{policyId}

No content

Update policy

patch

Update an IAM policy's properties.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
organizationIdstringRequired

The organization ID

policyIdstringRequired

ID for an IAM policy

Body
namestringOptional

IAM Policy name.

descriptionstringOptional

IAM Policy description.

Responses
200

OK

application/json
patch
/organizations/{organizationId}/iam-policies/{policyId}

Last updated

Was this helpful?