cURL
curl --request GET \ --url https://api.cadanapay.com/v1/permissions/roles \ --header 'Authorization: Bearer <token>'
{ "data": [ { "description": "This is the role for a finance manager", "id": "8ef9a712-cdae-4110-b1ea-9ba95abbee6e", "name": "Finance Manager", "operations": [ { "description": "Operations related to user management", "permissions": [ { "action": "CAN_VIEW_USER", "value": true } ], "resource": "user" } ], "roleType": "custom" } ] }
Get Custom Roles
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Required when using a Platform API token. The tenant key identifying which business to operate on.
get permission roles response
Show child attributes