API reference · Agents
Delete an agent
DELETE
https://goblins-call-api.onrender.com/v1/agents/:idRemoves the agent. Its key stops working and no new calls can be started with it. Past calls stay in the call log.
Needs a workspace API key.
Path parameters
idstringRequiredThe agent’s ID, such as ua_3f9a1c2b.
Errors
404No agent in your workspace has that ID.
Every request can also answer 401, 429 and 500: see Errors.
curl -X DELETE "https://goblins-call-api.onrender.com/v1/agents/ua_3f9a1c2b" \
-H "Authorization: Bearer $CRACKLE_API_KEY"Response · 200 OK
{
"ok": true,
"id": "ua_3f9a1c2b"
}