POST
/v1/mgmt/tenant/delete

Delete a tenant, using a valid management key.

This API endpoint will delete a tenant utilizing a valid management key based on the provided user tenandId.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/tenant/delete

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

idstring

cascadeboolean

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/tenant/delete" \
  -d '{
  "id": "string",
  "cascade": true
}'
Was this helpful?