curl --request DELETE \
--url https://api.openai.com/v1/models/{model} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"deleted": true,
"object": "<string>"
}
Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.
curl --request DELETE \
--url https://api.openai.com/v1/models/{model} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"deleted": true,
"object": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The model to delete
"ft:gpt-4o-mini:acemeco:suffix:abc123"
OK
The response is of type object
.
Was this page helpful?