Skip to main content
DELETE
https://api.trillet.ai
/
v1
/
api
/
roles-and-permissions
/
roles
/
{roleId}
Delete Role
curl --request DELETE \
  --url https://api.trillet.ai/v1/api/roles-and-permissions/roles/{roleId} \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "success": true
}

Headers

x-api-key
string
required
API key used for authenticating requests to the API.
x-workspace-id
string
required
Workspace identifier for the API.

Path Parameters

roleId
string
required
The unique identifier of the role to delete.

Response Fields

success
boolean
Whether the deletion was successful.
{
  "success": true
}