Delete Agent
DELETE
/api/v3/organizations/{organisation}/ai/agents/{agentId}
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/agents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://dashboard.quantcdn.io/api/v3/organizations/example/ai/agents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Permanently deletes an AI agent. This action cannot be undone.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
agentId
required
string format: uuid
The agent ID
Responses
Section titled “Responses”Agent deleted successfully
Media typeapplication/json
object
success
boolean
message
string
Example
{ "success": true, "message": "Agent deleted successfully"}Access denied
Agent not found
Failed to delete agent
