Path parameters
-
The ID of the thread to delete.
DELETE
/threads/{thread_id}
curl \
-X DELETE https://api.openai.com/v1/threads/{thread_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"deleted": true,
"object": "thread.deleted"
}