Skip to content

Delete a fine-tuned model

DELETE/models/{model}

Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.

Path ParametersExpand Collapse
model: string
ReturnsExpand Collapse
ModelDeleted = object { id, deleted, object }
id: string
deleted: boolean
object: string

Delete a fine-tuned model

curl https://api.openai.com/v1/models/$MODEL \
    -X DELETE \
    -H "Authorization: Bearer $OPENAI_API_KEY"
{
  "id": "id",
  "deleted": true,
  "object": "object"
}
Returns Examples
{
  "id": "id",
  "deleted": true,
  "object": "object"
}