Skip to content

Delete a fine-tuned model

DELETE https://api.fastapi.ai/v1/models/{model}

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

Path parameters


model string Required
The model to delete

Returns


Deletion status.

Example

Request

bash
curl https://api.fastapi.ai/v1/models/ft:gpt-4o-mini:acemeco:suffix:abc123 \
  -X DELETE \
  -H "Authorization: Bearer $FAST_API_KEY"

Response

bash
{
  "id": "ft:gpt-4o-mini:acemeco:suffix:abc123",
  "object": "model",
  "deleted": true
}

那年我双手插兜, 让bug稳如老狗