Skip to main content
DELETE
/
orgs
/
{org_id}
/
roles
/
{role_id}
cURL
curl --request DELETE \
  --url https://api.timbal.ai/orgs/{org_id}/roles/{role_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "force": true
}'
{
  "code": "<string>",
  "message": "<string>",
  "pending_invite_count": 1,
  "user_ids": [
    "<string>"
  ]
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
string
required
role_id
string
required

Body

application/json

Optional — omit entirely or send {} for default (non-force) behavior.

force
boolean | null

When true, demote any members currently holding this role to the system user role and proceed with the delete.

Response

Role deleted