POST
/v1/mgmt/role/delete/batch

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

roleNames?array<string>
string
tenantId?string

Delete roles in batch, using a valid management key.

This API endpoint allows administrators to delete roles in batch. The endpoint takes the following one parameter:

  • roleNames (required)

See also

curl -X POST "https://api.descope.com/v1/mgmt/role/delete/batch" \  -H "Content-Type: application/json" \  -d '{}'
Was this helpful?