api-keys

Delete

Hard-removes an API key row (ResourceAuth write — the key's own account, or a tenant admin over their tenant's keys). Unlike Revoke, this does not leave an inactive row for audit; prefer POST /api-keys/{id}/revoke when the goal is to disable the credential while keeping a record it existed. 404 key_not_found for an unknown or out-of-scope id.

delete/api-keys/{id}

Request

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

Path parameters

idstring required

id

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

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