Delete agent
DELETE
Delete the agent created on this sender. A sender that is only connected to an agent through POST /v1/agents/{agentId}/senders is refused with 409: deleting there would remove the agent from every sender it answers on. Disconnect it with DELETE /v1/agents/{agentId}/senders/{senderId}, or delete the agent with DELETE /v1/agents/{agentId}.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
senderIdstringrequired
Responses
204Agent deleted.
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Sender or agent not found.
codestringrequiredmessagestringrequireddetailsobject
409The sender is connected to an agent it does not own.
codestringrequiredmessagestringrequireddetailsobject