DELETE
/
v1
/
api
/
agents
/
{agentId}
curl --request DELETE \
  --url https://api.trillet.ai/v1/api/agents/{agentId} \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "success": true,
  "message": "Agent successfully deleted"
}

Headers

x-api-key
string
required

API key used for authenticating requests to the API.

x-workspace-id
string
required

Workspace identifier for the API.

Path Parameters

agentId
string
required

The unique identifier of the agent to delete

Response Fields

success
string

Boolean value indicating if it was a successful operation.

message
string

A message confirming the successful deletion of the agent.

{
  "success": true,
  "message": "Agent successfully deleted"
}