Skip to main content
POST
/
api-keys
/
{id}
/
revoke
Revoke an API key
curl --request POST \
  --url https://api.questra.ai/api-keys/{id}/revoke \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Org-Id: <x-org-id>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Org-Id
string
required

The ID of the organization to make requests against. Found on your Settings page.

Path Parameters

id
string
required

The ID of the API key to revoke.

Response

The key was successfully revoked.

success
boolean
required
Example:

true