Get all roles
Roles
Get all roles
GET
Get all roles
Documentation Index
Fetch the complete documentation index at: https://docs.bigcapital.app/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.
Example:
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Response
200 - application/json
List of all roles
Unique identifier of the role
Example:
1
The slug of the role
Example:
"admin"
The name of the role
Example:
"Administrator"
The description of the role
Example:
"Administrator role with all permissions"
Indicates if the role is predefined
Example:
false
List of permissions associated with the role
Example:
[
{
"ability": "read",
"subject": "item",
"value": true
},
{
"ability": "edit",
"subject": "item",
"value": false
}
]