Assign a role to a user
IAM
Assign a Role to a User
Assign a specific role to a user within an account or project
POST
Assign a role to a user
Authorizations
JWT Bearer token authentication
Path Parameters
The account identifier (external account ID)
Example:
"my-company-account"
Body
application/json
Assignee identifier (external user/group ID)
Example:
"john.doe"
The type of assignee
Available options:
USER, IAMGROUP Role identifier to assign
Example:
"project_admin"
Project identifier (required for PROJECT scoped roles, must be empty for ACCOUNT scoped roles)
Example:
"project-alpha"
Response
Role successfully assigned
Assignee identifier (external user/group ID)
Example:
"jane.smith"
The type of assignee
Available options:
USER, IAMGROUP Role identifier
Example:
"account_admin"
The status of the role assignment
Available options:
ACTIVE, INACTIVE 