Skip to navigation

Delete agent

View as Markdown

Deletes an agent. This permanently removes the agent and all associated data: all calls and call history, all batches and contacts, and all other related data for this agent. This action cannot be undone. If the agent has an active batch, the API returns 400 with a message to stop that batch first.

Authentication

X-API-Keystring

API key for authentication. Example: raya_ABCD1234567890abcdef

Path parameters

idstringRequiredformat: "uuid"
The UUID of the agent to delete

Response

Agent deleted successfully
messagestringOptional
idstringOptionalformat: "uuid"
Deleted agent UUID

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error