Path Parameters
Workspace ID
Response
Successful response with list of roles
curl --request GET \
--url http://sandbox.mintlify.com/api/v1/hotel/workspaces/{workspaceId}/roles \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"order": 123,
"Permissions": {}
}
]
}Retrieve all roles for a specific workspace
curl --request GET \
--url http://sandbox.mintlify.com/api/v1/hotel/workspaces/{workspaceId}/roles \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"order": 123,
"Permissions": {}
}
]
}Workspace ID
Successful response with list of roles
Show child attributes