cURL
curl --request DELETE \ --url https://api.langtail.com/v2/threads/{threadId} \ --header 'X-API-Key: <x-api-key>'
{ "id": "<string>", "object": "thread.deleted", "deleted": true }
Deletes a thread by its ID.
Your Langtail API Key
"<LANGTAIL_API_KEY>"
The ID of the thread to delete.
Successfully deleted thread
The response is of type object.
object
Was this page helpful?