Sample - OpenAI API
DELETE/chat/completions/{completion_id}

Delete chat completion

Delete a stored chat completion. Only Chat Completions that have been created with the store parameter set to true can be deleted.

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

1 parameter
completion_idstringrequired
The ID of the chat completion to delete.

1 status code
200The chat completion was deleted successfully.
objectstringrequired
The type of object being deleted.
Allowed:chat.completion.deleted
idstringrequired
The ID of the chat completion that was deleted.
deletedbooleanrequired
Whether the chat completion was deleted.