Skip to main content
DELETE
/
chats
/
threads
/
{thread_id}
Delete thread
curl --request DELETE \
  --url https://api.ledgerbeam.com/v1/chats/threads/{thread_id} \
  --header 'API-KEY: <api-key>'
{
  "message": "Thread deleted successfully"
}

Overview

Permanently delete a conversation thread and all its messages. This action cannot be undone.

Authorizations

API-KEY
string
header
required

API key for authentication

Path Parameters

thread_id
string
required

Thread ID

Response

Thread deleted successfully

message
string
Example:

"Thread deleted successfully"