Skip to main content
DELETE
/
identity
/
v1
/
roles
/
{roleId}
Deactivates a role in the caller's organization.
curl --request DELETE \
  --url https://api.sandbox.tesouro.com/identity/v1/roles/{roleId} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "<string>",
  "instance": "<string>",
  "status": 123,
  "title": "<string>",
  "type": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

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

Authorizations

Authorization
string
header
required

Application (M2M) OAuth2 access token (client credentials).

Path Parameters

roleId
string<uuid>
required

The ID of the role to deactivate.

Response

Role deactivated successfully.