Delete chat completion
$ openai chat:completions delete
DELETE
/chat/completions/{completion_id}Delete a stored chat completion. Only Chat Completions that have been
created with the store parameter set to true can be deleted.
Delete chat completion
openai chat:completions delete \
--api-key 'My API Key' \
--completion-id completion_idResponse example
{
"object": "chat.completion.deleted",
"id": "chatcmpl-AyPNinnUqUDYo9SAdA52NobMflmj2",
"deleted": true
}
Returns Examples
Response example
{
"object": "chat.completion.deleted",
"id": "chatcmpl-AyPNinnUqUDYo9SAdA52NobMflmj2",
"deleted": true
}