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
chevron-right
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
chevron-right
200

OK

application/json

The IAM policy record.

idstring · uuidRequired

ID of the IAM Policy.

namestringRequired

IAM Policy name.

descriptionstringOptional

IAM Policy description.

rolesDependencyCountintegerOptional

The number of IAM Roles that depend on this IAM policy.

usersDependencyCountintegerOptional

The number of users that depend on this IAM policy.

scopestring · enumRequired

The scope to which this policy applies.

Possible values:
typestring · enumOptional

The type of policy, managed indicates it's controlled by the platform.

Possible values:
createdAtstring · date-timeRequired

When the IAM Policy was created.

updatedAtstring · date-timeRequired

When the IAM Policy was last updated.

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
chevron-right
200

OK

application/json

The IAM policy record.

idstring · uuidRequired

ID of the IAM Policy.

namestringRequired

IAM Policy name.

descriptionstringOptional

IAM Policy description.

rolesDependencyCountintegerOptional

The number of IAM Roles that depend on this IAM policy.

usersDependencyCountintegerOptional

The number of users that depend on this IAM policy.

scopestring · enumRequired

The scope to which this policy applies.

Possible values:
typestring · enumOptional

The type of policy, managed indicates it's controlled by the platform.

Possible values:
createdAtstring · date-timeRequired

When the IAM Policy was created.

updatedAtstring · date-timeRequired

When the IAM Policy was last updated.

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

Last updated

Was this helpful?