Skip to main content
PATCH
/
v1
/
roles
/
built-in
/
{name}
/
obligations
Update obligations for a built-in role
curl --request PATCH \
  --url https://api.trycomp.ai/v1/roles/built-in/{name}/obligations \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "obligations": {
    "compliance": false
  }
}
'
{
  "name": "<string>",
  "obligations": {
    "compliance": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt

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

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

name
string
required

Built-in role name

Example:

"owner"

Body

application/json
obligations
object
required

Obligations override for the built-in role.

Example:
{ "compliance": false }

Response

Obligations updated

name
string
obligations
object