agents

Delete Agent

Soft delete (manager() only): revokes every credential, disables its OAuth clients, deactivates the service account, removes it from every group (one audit event each) and hides the agent. Leaf rows stay owned by the service account. purge=true (tenant_manage only) also hard-deletes the agent row, its credentials and its clients.

delete/agents/{id}

Request

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

Path parameters

idstring required

agent id

Query parameters

purgeboolean

hard delete (tenant admin only)

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

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