Sample - OpenAI API
DELETE/chatkit/threads/{thread_id}

Delete a ChatKit thread

Delete a ChatKit thread along with its items and stored attachments.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
thread_idstringrequired
Identifier of the ChatKit thread to delete.

1 status code
200Success
idstringrequired
Identifier of the deleted thread.
objectstringrequired
Type discriminator that is always `chatkit.thread.deleted`.
Allowed:chatkit.thread.deletedDefault:chatkit.thread.deleted
deletedbooleanrequired
Indicates that the thread has been deleted.