cURL
curl --request DELETE \ --url https://api.deck.co/v2/agents/{agent_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "object": "<string>", "deleted": true, "request_id": "<string>" }
Permanently deletes an agent.
Secret key (sk_live_...)
Unique identifier for the agent (prefixed with agt_).
agt_
OK
Confirmation object returned after a successful deletion.
ID of the deleted agent.
Always agent.
agent
Always true for successful deletions.
true
Unique identifier for the API request. Include this when contacting support.
Was this page helpful?