Endpoint
DELETE/v1/agents/:id
Authorization: Bearer API key required.
Path parameters
string
required
Agent identifier, e.g. ag_7f8e9d0c.
Response
On success, the response shape returned by the handler is consistent with other success patterns.boolean
True when the deletion succeeds.
Example
Endpoint
Authentication
Authorization: Bearer <api_key or JWT> with an account that manages the target agent.
Path parameters
string
required
Agent identifier returned by the fleet listing endpoints.
Response
integer
0 on success. Non-zero indicates an error; see message.object
Deletion result envelope, typically
{ "ok": true }.