delete

Deletes the given thread from the OpenAI API.

You should always check the deletion status to ensure the thread was deleted successfully. After confirming deletion, you should discard all of your references to the thread, since they are now invalid.

Return

The deletion status

Parameters

thread

The thread to delete


Deletes the thread with the given id from the OpenAI API.

You should always check the deletion status to ensure the thread was deleted successfully. After confirming deletion, you should discard all of your references to the thread, since they are now invalid.

Return

The deletion status

Parameters

id

The id of the thread to delete