DELETE /v2/threads/{threadId}

Deletes a thread by its ID.

Request

  • Base URL
    https://api.langtail.com
  • Auth
    none declared. Required headers: X-API-Key

Path parameters

threadIdstring required

The ID of the thread to delete.

Headers

X-API-Keystring required
Example:<LANGTAIL_API_KEY>

Your Langtail API Key

Response

Successfully deleted thread

idstring required

The unique identifier of the deleted thread.

objectstring required

The object type, which is always 'thread.deleted' for this response.

deletedboolean required

Indicates that the thread was successfully deleted.

Example response

{
  "object": "thread.deleted",
  "deleted": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.