Table of contents
This guide covers how to delete a model you've created, as well as how to delete model versions.
You can delete a model directly from the web on the model settings page or programmatically using the models.delete
HTTP API.
There are some restrictions on which models you can delete:
Go to your model page, navigate to Settings, then select Delete model.
Use the models.delete
endpoint:
DELETE https://api.replicate.com/v1/models/{model_owner}/{model_name}
Here's an example cURL request:
curl -s -X DELETE \
-H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.replicate.com/v1/models/replicate/hello-world
You can delete model versions on the web from the UI on the version page, or via the API using the versions.delete
endpoint.
The following restrictions apply to deleting versions:
Go to your model page, navigate to the Versions tab, select a version, then select Delete.
Use the versions.delete
endpoint:
DELETE https://api.replicate.com/v1/models/{model_owner}/{model_name}/versions/{version_id}
Here's an example cURL request:
curl -s -X DELETE \
-H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.replicate.com/v1/models/replicate/hello-world/versions/v1