Use these endpoints to grant privileges to roles. Every member of a role automatically inherits the role’s assigned privileges. Changes take effect immediately — there is no need to refresh sessions or re-authenticate. All endpoints in this section require the PrivilegeManagers authorization policy.Documentation Index
Fetch the complete documentation index at: https://alphabet-06152314.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Assign privileges to a role
Path parameters
The ID of the role to assign privileges to.
Request body
Array of privilege IDs (UUID format) to grant to this role.
Optional expiration timestamp for all assignments in this request. When omitted, the assignments do not expire. Example:
2026-12-31T23:59:59Z.Responses
200 OK
All specified privileges were assigned to the role successfully.
Example
List privileges assigned to a role
Path parameters
The ID of the role to query.
Response — 200 OK
Revoke a privilege from a role
Revoking an assignment deactivates it while preserving the audit record. The assignment is not permanently deleted.
Path parameters
The ID of the role.
The ID of the privilege to revoke.
Responses
200 OK
The assignment was deactivated successfully.
The revocation failed, for example because the assignment does not exist.
Bulk assign or revoke privileges across roles
Request body
Array of role IDs (UUID format) to apply the operation to.
Array of privilege IDs (UUID format) to grant or revoke.
The operation to perform. Accepted values:
Grant— adds the specified privileges to each role.Revoke— removes the specified privileges from each role.
Expiration timestamp applied to all new grant assignments. Ignored when
operation is Revoke.Responses
200 OK
The bulk operation completed successfully for all specified roles.
The operation failed. Partial results are not applied — the request is treated atomically.
Example
Assign a policy to a role
Path parameters
The ID of the role to assign the policy to.
Request body
The ID of the composite privilege policy to assign.
Optional expiration timestamp for this policy assignment.
Responses
200 OK
The policy was associated with the role successfully.
The assignment failed, for example because the policy ID is invalid.