Skip to main content
DELETE
/
v1
/
agents
/
{agentId}
Eliminar un agente
curl --request DELETE \
  --url https://agents.studio.getsupervisor.ai/v1/agents/{agentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "code": "ACTIVE_DEPENDENCIES",
  "message": "El agente tiene versiones publicadas o teléfonos asignados"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
string<uuid>
required

Identificador del workspace multi-tenant.

Path Parameters

agentId
string<uuid>
required

Identificador del agente

Response

Agente eliminado correctamente