POST
/v1/mgmt/role/delete/batch

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

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/role/delete/batch

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

roleNamesarray<string>

tenantIdstring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/role/delete/batch" \
  -d '{
  "roleNames": [
    "string"
  ],
  "tenantId": "string"
}'
Was this helpful?