POST
/v1/mgmt/role/delete

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

name?string
tenantId?string

Delete a role, using a valid management key.

This API endpoint allows administrators to delete an existing role. The endpoint takes the following one parameter:

  • name (required)

See also

  • See User Authorization for further details on managing roles and permissions._override/App.tsx
curl -X POST "https://api.descope.com/v1/mgmt/role/delete" \  -H "Content-Type: application/json" \  -d '{}'
Was this helpful?