Voice agentsAgents
Delete agent
Permanently deletes an agent. Its numbers stop routing to it immediately.
DELETE
/v2/agents/{id}Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <api_key>, where<api_key>is a key from Account Settings → API keys in your dashboard.
Path parameters
idstring (uuid)requiredThe agent's id.
Response
Confirmation of the deletion.
statusstringAlways
deleted.idstring (uuid)The deleted agent's id.