API Reference
Delete Model
Delete a model that you have created. This permanently removes the model from your account.
Note: You can only delete models that you have created yourself. The standard base models (like Llama-3.1-8b or DeepSeek-R1-8b) are read-only and cannot be deleted.
Parameters
The model identifier or model name to delete. This can be either:
- The
idfield from the model object returned by the List Models endpoint - The
namefield from the model object
Important: If you are using model name, the value must be properly URL-encoded when used in the URL path. For example, if your model name is "My Custom Model", it should be encoded as My%20Custom%20Model (spaces become %20). Most HTTP libraries and tools handle URL encoding automatically, but when constructing URLs manually, use encodeURIComponent() in JavaScript or equivalent functions in other languages.
Output
DeleteModelResponse
Response returned when a model is successfully deleted. Contains the model identifier and a confirmation message.
The identifier of the deleted model.
Confirmation message indicating that the model has been deleted.
curl http://localhost:45678/v1/models/MyCustomModel \
-X DELETE \
-H "Authorization: Bearer $TIGER_API_KEY"{
"id" : "mycustommodel",
"message" : "model has been deleted"
}