Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the chat completion to delete.
Response
200 - application/json
The chat completion was deleted successfully.
curl --request DELETE \
--url https://api.openai.com/v1/chat/completions/{completion_id} \
--header 'Authorization: Bearer <token>'{
"object": "chat.completion.deleted",
"id": "<string>",
"deleted": true
}Delete a stored chat completion. Only Chat Completions that have been
created with the store parameter set to true can be deleted.
curl --request DELETE \
--url https://api.openai.com/v1/chat/completions/{completion_id} \
--header 'Authorization: Bearer <token>'{
"object": "chat.completion.deleted",
"id": "<string>",
"deleted": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the chat completion to delete.
The chat completion was deleted successfully.
Was this page helpful?