delete /models/{model}
Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.
model: string
-
ModelDeleted object { id, deleted, object }-
id: string -
deleted: boolean -
object: string
-
curl https://api.openai.com/v1/models/$MODEL \
-X DELETE \
-H "Authorization: Bearer $OPENAI_API_KEY"{
"id": "id",
"deleted": true,
"object": "object"
}curl https://api.openai.com/v1/models/ft:gpt-4o-mini:acemeco:suffix:abc123 \
-X DELETE \
-H "Authorization: Bearer $OPENAI_API_KEY"{
"id": "ft:gpt-4o-mini:acemeco:suffix:abc123",
"object": "model",
"deleted": true
}