Skip to main content
DELETE
/
delete-agent-version
/
{agent_id}
cURL
curl --request DELETE \
  --url https://api.retellai.com/delete-agent-version/{agent_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Invalid request format, please check API reference."
}

Documentation Index

Fetch the complete documentation index at: https://docs.retellai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"

Path Parameters

agent_id
string
required

Unique id of the agent.

Minimum string length: 1
Example:

"agent_xxx"

Query Parameters

version
integer
required

Version to delete.

Required range: x >= 0
Example:

1

Response

Version deleted successfully.