Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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": [
{
"id": "<string>",
"name": "<string>",
"rank": 123
}
]
}Get all roles in a workspace
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": [
{
"id": "<string>",
"name": "<string>",
"rank": 123
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.