Skip to main content
POST
/
api
/
roles
/
{role_id}
/
permissions
Add Permission Route
curl --request POST \
  --url https://api.example.com/api/roles/{role_id}/permissions \
  --header 'Content-Type: application/json' \
  --data '
{
  "verb": "<string>",
  "resource_glob": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "verb": "<string>",
  "resource_glob": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://www.halite-app.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

role_id
string<uuid>
required

Body

application/json
verb
string
required
Required string length: 1 - 64
resource_glob
string
required
Required string length: 1 - 255

Response

Successful Response

id
string<uuid>
required
verb
string
required
resource_glob
string
required