Skip to main content
DELETE
/
api
/
v1
/
agents
/
{id}
/
Delete Agent
curl --request DELETE \
  --url https://api.ravan.ai/api/v1/agents/{id}/ \
  --header 'X-Api-Key: <api-key>'

Authorizations

X-Api-Key
string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Request

Example curl:
curl -X DELETE "https://api.ravan.ai/api/v1/agents/{id}" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Example PowerShell:
Invoke-WebRequest -Uri "https://api.ravan.ai/api/v1/agents/{id}" -Method DELETE -Headers @{"X-Api-Key"="YOUR_API_KEY"} | Select-Object -Expand Content

Path Parameters

id
string
required
The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.

}

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Agent ID

Response

200

Successful response