Organization roles

Roles group one or more organization policies, and can be assigned to organization users and access keys.

List roles

get

List the IAM roles 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-roles

Create role

post

Create a new IAM role 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

Role name.

descriptionstringOptional

Role description.

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

Get role

get

Retrieve a single IAM role.

Authorizations
HTTPRequired

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

Path parameters
organizationIdstringRequired

The organization ID

roleIdstringRequired

ID for an IAM role

Responses
200

OK

application/json
get
/organizations/{organizationId}/iam-roles/{roleId}

Delete role

delete

Remove an IAM role 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

roleIdstringRequired

ID for an IAM role

Responses
delete
/organizations/{organizationId}/iam-roles/{roleId}

No content

Update role

patch

Update an IAM role'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

roleIdstringRequired

ID for an IAM role

Body
namestringOptional

Role name.

descriptionstringOptional

Role description.

Responses
200

OK

application/json
patch
/organizations/{organizationId}/iam-roles/{roleId}

Last updated

Was this helpful?