Skip to main content
Delete a model instance. This operation is permanent and cannot be undone.
Deleting a model will affect any endpoints that reference it. Ensure endpoints are updated or removed before deleting models in production.

Path parameters

name
string
required
The unique name of the model to delete.

Response

message
string
Confirmation message indicating successful deletion.
curl -X DELETE https://your-server.com/api/v1/models/gpt-4-assistant \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "message": "Successfully deleted model 'gpt-4-assistant'"
}

Endpoint

DELETE

Build docs developers (and LLMs) love