Get all roles for an account
IAM
Get all roles for an account
Retrieve all roles available within a specific account, including both system roles and custom account-specific roles
GET
Get all roles for an account
Authorizations
JWT Bearer token authentication
Path Parameters
The account identifier (external account ID)
Example:
"my-company-account"
Query Parameters
Filter roles by scope The scope of the role:
- ACCOUNT: Role applies at the account level (e.g., account_admin)
- PROJECT: Role applies at the project level (e.g., project_admin, project_reader)
- RESOURCE: Role applies to specific resources
Available options:
ACCOUNT, PROJECT, RESOURCE Filter roles by status The status of the role
Available options:
ACTIVE, INACTIVE Filter roles by project ID (for project-scoped roles)
Example:
"project-alpha"
Page number for pagination (default 1)
Example:
1
Number of items per page (default 20, max 100)
Required range:
x <= 100Example:
20
