Skip to main content
GET
/
api
/
v1
/
hotel
/
workspaces
/
{workspaceId}
/
roles
Get 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": {}
    }
  ]
}

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Path Parameters

workspaceId
string<uuid>
required

Workspace ID

Response

Successful response with list of roles

data
object[]
I