DELETE
/
v1
/
api
/
conversations
/
{conversationId}
Delete Conversation
curl --request DELETE \
  --url https://api.trillet.ai/v1/api/conversations/{conversationId} \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
"status": "success",
"message": `Conversation with ID abc1234aa deleted successfully.`,
"conversationId": abc1234aa,
}

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

conversationId
string
required
The Conversation ID of the conversation you want to delete.

Response Fields

status
string
The status of the call.
message
string
A message to describe the result.
conversationId
string
The deleted conversationId.
{
"status": "success",
"message": `Conversation with ID abc1234aa deleted successfully.`,
"conversationId": abc1234aa,
}