DELETE
/
models
/
{model}
curl --request DELETE \
  --url https://api.openai.com/v1/models/{model} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "deleted": true,
  "object": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

model
string
required

The model to delete

Example:

"ft:gpt-4o-mini:acemeco:suffix:abc123"

Response

200 - application/json

OK

The response is of type object.