cURL
curl --request GET \ --url https://api.example.com/v1/rbac/roles \ --header 'Authorization: Bearer <token>'
[ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "user_role_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ]
Retrieve all available roles in the system
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of roles retrieved successfully