Skip to main content
DELETE
/
Agent
/
{agentId}
/
chat
Detach the chat from an agent
curl --request DELETE \
  --url https://api.starleads.co/Agent/{agentId}/chat \
  --header 'X-Api-Key: <api-key>'
{
  "success": true
}

Authorizations

X-Api-Key
string
header
required

Headers

X-Api-Key
string
required

Api key to pass as a X-Api-Key request header.

Path Parameters

agentId
string
required

ID of the agent.

Response

Chat detached from agent successfully

Generic success response

success
boolean

Indicates the operation was successful