List custom roles
Lists all custom roles.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
page
Page number of the custom roles to fetch. Defaults to 1
.
per_page
Number of custom roles to return in a single page. Defaults to 100
. Max is 100
.
role_name
Filter by role name.
Response
Array of roles with privileges and metadata
id
The unique identifier of the role.
name
The name of the role.
inheritable
Indicates whether the role is inheritable.
folder_ids
Array of folder IDs associated with the role. Empty if none are assigned.
created_at
The timestamp when the role was created.
updated_at
The timestamp when the role was last updated.
privileges
An object containing privileges associated with the role.