Required Permissions
Your root key must have the following permission:rbac.*.read_role
Request
string
required
Unique identifier of the role to retrieve.Must either be a valid role ID that begins with ‘role_’ or the given role name and exists within your workspace.Use this endpoint to verify role details, check its current permissions, or retrieve metadata.Returns complete role information including all assigned permissions for comprehensive access review.Pattern:
^[a-zA-Z0-9_:\-\.\*]+$Length: 3-255 charactersExample: role_1234567890abcdef or admin.billingResponse
string
required
The unique identifier for this role.
string
required
The role name.
string
Description of what this role grants access to.
array
Array of permissions assigned to this role.Each permission includes:
id: Permission identifiername: Permission name
integer
Unix timestamp in milliseconds when the role was created.
integer
Unix timestamp in milliseconds when the role was last updated.