Pi Durable Platformdocs
ReferenceAgents, threads and templates

Delete an agent and all its conversations (its owner; team owners and admins; platform admins)

DELETE
/v1/agents/{agentId}

Path Parameters

agentId*string
Formatuuid

Response Body

Deleted

application/json
  1. response
data*
curl -X DELETE 'https://agents.example.com/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": {    "ok": true  }}