POST
/v1/mgmt/accesskey/deactivate

Deactivate an existing access key, using a valid management key.

This API endpoint allows administrators to deactivate an existing access key.

Once the access key has been deactivated, it's 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

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

idstring

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