DELETE
/
chat
/
completions
/
{completion_id}
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

completion_id
string
required

The ID of the chat completion to delete.

Response

200 - application/json

The chat completion was deleted successfully.

The response is of type object.