service-accounts

Revoke API Key

Deactivates the key (kept for audit). For a hard removal use DELETE on the same path.

post/service-accounts/{id}/api-keys/{keyId}/revoke

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/service-accounts/{id}/api-keys/{keyId}/revoke
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

id

keyIdstring required

api key id

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.