Delete Agent
DELETE/agent-studio/agent/:agentId
Deletes an agent and all its versions.
Request
Version stringrequired
API Version
Available options
v3agentId stringrequired
Agent ID to delete (removes the agent and all its versions)
locationId stringrequired
Location (sub-account) ID that owns the agent
source string
Origin channel attributed to this write for auditing (e.g. public_api, internal)
Agent deleted successfully
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Success status
messagestringrequired
Response message
agentIdstring
Deleted agent ID
{
"success": true,
"message": "Agent deleted successfully",
"agentId": "p1q2r3s4t5u6v7w8x9y0z1a2"
}