Skip to main content
DELETE
/
v1
/
chat
/
completions
/
{completion_id}
Delete Chat Completion
curl --request DELETE \
  --url https://api.example.com/v1/chat/completions/{completion_id}
{
  "deleted": true,
  "id": "<string>",
  "object": "<string>"
}

Path Parameters

completion_id
string
required

ID of the chat completion

Response

Chat completion deleted successfully

Confirmation object returned when a chat completion is deleted.

deleted
boolean
required

Whether the chat completion was successfully deleted.

id
string
required

The ID of the deleted chat completion.

object
string
required

The object type, which is always chat.completion.deleted.