Skip to main content
Delete an agent definition. Existing sessions that still reference the agent may list with a stub snapshot, but new work against the deleted id fails.

Endpoint

Authentication

Authorization: Bearer <api_key> or Authorization: ApiKey <key>. Optional if AGENT_CLOUD_API_KEY is unset.

Path parameters

string
required
Agent identifier.

Response

string
Deleted agent identifier.
string
Always agent.deleted.
boolean
Always true on success.

Example