API reference · Agents

Delete an agent

DELETEhttps://goblins-call-api.onrender.com/v1/agents/:id

Removes 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

idstringRequired

The agent’s ID, such as ua_3f9a1c2b.

Errors

404

No 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"
}