Skip to main content
DELETE
/
threads
/
{thread_id}
Delete thread
curl --request DELETE \
  --url https://api.openai.com/v1/threads/{thread_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "deleted": true,
  "object": "thread.deleted"
}

Documentation Index

Fetch the complete documentation index at: https://openai-hd4n6.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

thread_id
string
required

The ID of the thread to delete.

Response

200 - application/json

OK

id
string
required
deleted
boolean
required
object
enum<string>
required
Available options:
thread.deleted