Skip to content
Hexel StudioDocs

Kill agent

POST/titan/admin/agent-controls:kill

Irreversibly kill a target in the enforcement deployment named by Titan-Enforcement-Deployment. target_id by target_type: agent, deployment and session ids; organization: the deployment's own organization id; workspace and environment: an id one of the deployment's agent deployments runs in; capability: a capability id in the deployment's catalog; destination: a type:id boundary whose type a catalog capability uses; connection: the connected account's nano_id (the kill latches its connected_account_id, returned as target_id); durable_session: a dss_ id, which ends the durable session (state killed) and kills its live legs as sessions in one generation. A target outside the deployment's organization is 404.

Headers

Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

The enforcement deployment this call acts on (its td-... id). Required on the shared plane, where one Gateway serves many tenants and there is no default: a missing, unknown, repeated or other organization's deployment answers 403, like a failed authorization. Optional on a dedicated cell, which defaults to its one deployment.

Body parameters

One of: "OPERATOR_REQUEST", "SECURITY_INCIDENT", "POLICY_VIOLATION"

target_idstring

One of: "agent", "deployment", "session", "organization", "workspace", "environment", "capability", "connection", "destination", "durable_session"

Returns

200Successful response; exact status varies by operation.object

changedboolean
effectiveoptional boolean
generationoptional integerint64
statestring

One of: "quarantined", "active", "killed"

target_idstring

Errors

  • 400Admin error
  • 403Admin error
  • 404Admin error
  • 413Admin error
  • 415Admin error
  • 503Admin error