Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the thread to delete.
curl --request DELETE \
--url https://api.openai.com/v1/threads/{thread_id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"deleted": true,
"object": "thread.deleted"
}Delete a thread.
curl --request DELETE \
--url https://api.openai.com/v1/threads/{thread_id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"deleted": true,
"object": "thread.deleted"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the thread to delete.
Was this page helpful?