v22

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-15361989.5 KB

Delete a deployment

Delete a deployment

Deployment deletion has some restrictions:

  • You can only delete deployments that have been offline and unused for at least 15 minutes.

Example cURL request:

curl -s -X DELETE \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  https://api.replicate.com/v1/deployments/acme/my-app-image-generator

The response will be an empty 204, indicating the deployment has been deleted.

delete/deployments/{deployment_owner}/{deployment_name}

Path parameters

deployment_ownerstring required

The name of the user or organization that owns the deployment.

deployment_namestring required

The name of the deployment.

Response

Success