cURL
curl --request DELETE \ --url https://api.xpander.ai/v1/agents/{agent_id} \ --header 'x-api-key: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Permanently delete an AI agent and all associated resources
202 Accepted
204 No Content
curl -X DELETE -H "x-api-key: YOUR_API_KEY" \ https://api.xpander.ai/v1/agents/11cf5b70-7743-4d5f-a739-3f94fef8ec0f
HTTP/1.1 202 Accepted Content-Type: application/json null
API Key for authentication
Successful Response
Was this page helpful?