cURL
curl --request GET \ --url https://api.hyra.io/workspace/{workspaceId}/roles \ --header 'Authorization: Bearer <token>'
{ "roles": [ { "name": "<string>", "group_roles": [ "<string>" ], "permissions": [ "<string>" ], "_id": "<string>", "manual_users": [ "<string>" ] } ], "group_roles": [ { "name": "<string>", "rank": 123, "id": "<string>" } ] }
Get all roles in a workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response
Show child attributes