DELETE
/
v1
/
api
/
conversations
/
{conversationId}
/
message
/
{messageId}
curl --request DELETE \
  --url https://api.trillet.ai/v1/api/conversations/{conversationId}/message/{messageId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "conversationId": "<string>",
  "messageId": "<string>",
  "": "<string>"
}'
{
"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 unique identifier for the conversation containing the message.

messageId
string
required

The unique identifier for the message to be deleted.

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,
}