DELETE
/threads/{thread_id}Delete a thread
Deletes a thread. Use the thread's identifier to select the thread to remove; the response confirms the deletion.
thread_idstringrequired
The ID of the thread to delete.
200Returns the thread ID, a `deleted` flag, and the `thread.deleted` object type.
idstringrequired
deletedbooleanrequired
objectstringrequired
429Returned when the request is rejected because a rate limit was exceeded.
errorobjectrequired
Error handling
A 429 is returned when the request exceeds a rate limit. The thread_id path parameter identifies the thread to delete.