Skip to main content
DELETE
/
agents
/
{id}

Endpoint

DELETE https://gateway.orkeia.ai/agents/{id}

Headers

authorization:  <your_token>
Content-Type: application/json

Path Parameters

Send the ID of the agent to be deleted as a query parameter.
{
  "id": "Agent ID (required)"
}

Example (cURL)

curl -X DELETE "https://gateway.orkeia.ai/agents/agent123" \
  -H "authorization:  <your_token>"

Responses

Response - Success

response
{
  "status": "OK",
  "data": { "true"}
}

500 — Bad Request

{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}

400 — Client Error

{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}