POST
/v1/mgmt/accesskey/deactivate/batch

Deactivate existing access keys in batch, using a valid management key.

This API endpoint allows administrators to deactivate existing access keys in batch.

Once the access keys have been deactivated, their access will be revoked until reactivated.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/accesskey/deactivate/batch

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

idsarray<string>

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/accesskey/deactivate/batch" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "ids": [
    "string"
  ]
}'
Was this helpful?