DELETE
/chatkit/threads/{thread_id}Delete a ChatKit thread
Delete a ChatKit thread along with its items and stored attachments.
thread_idstringrequired
Identifier of the ChatKit thread to delete.
200Success
idstringrequired
Identifier of the deleted thread.
objectstringrequired
Type discriminator that is always `chatkit.thread.deleted`.
deletedbooleanrequired
Indicates that the thread has been deleted.
400The request is invalid or the required ChatKit beta header is missing or invalid.
errorobjectrequired
404The thread was not found or is not accessible.
errorobjectrequired
429The request rate limit has been exceeded.
errorobjectrequired
Error handling
A 400 is returned: The request is invalid or the required ChatKit beta header is missing or invalid. A 404 is returned: The thread was not found or is not accessible. A 429 is returned: The request rate limit has been exceeded.