Skip to content

Revoke API key

Request

Revoke an API key. The key is immediately rejected on subsequent requests.

Security
api_key
Path
apiKeyIdstring, (uuid)required

The ID of the API key to revoke.

curl -i -X DELETE \
  'https://coreapi.hoxton.ai/_mock/v1/api-keys/{apiKeyId}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK.

Response
No content