IAM Roles
IAM Roles
Authorizations
Path parameters
organizationIdstringRequired
ID of the organization
Query parameters
pageintegerOptionalDefault:
Page number for pagination
1per_pageintegerOptionalDefault:
Number of roles per page
15Responses
200
List of roles
application/json
404
Organization not found
get
/api/organizations/{organizationId}/iam-rolesAuthorizations
Path parameters
organizationIdstringRequired
ID of the organization
Body
namestringRequired
Name of the role
descriptionstring | nullableOptional
Description of the role
policiesinteger[]Optional
List of policy IDs to attach to the role
Responses
201
Role created successfully
application/json
400
Validation error
404
Organization not found
post
/api/organizations/{organizationId}/iam-rolesAuthorizations
Path parameters
organizationIdintegerRequired
ID of the organization
roleIdintegerRequired
ID of the role to delete
Responses
204
Role deleted successfully
404
Organization or Role not found
delete
/api/organizations/{organizationId}/iam-roles/{roleId}No content
Authorizations
Path parameters
organizationIdstringRequired
ID of the organization
roleIdintegerRequired
ID of the role
Body
namestringOptionalExample:
Name of the role
Managerdescriptionstring | nullableOptionalExample:
Description of the role
Role with management privilegespoliciesinteger[]Optional
List of policy IDs to sync with the role
Responses
200
Role updated successfully
application/json
400
Validation error
404
Organization or Role not found
patch
/api/organizations/{organizationId}/iam-roles/{roleId}Last updated