Deletes a model’s deployment by ID and returns the tombstone of the deployment.
curl --request DELETE \ --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id} \ --header "Authorization: Api-Key $BASETEN_API_KEY"
{ "id": "<string>", "deleted": true, "model_id": "<string>" }
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Authorization: Api-Key <Your_Api_Key>
A model deployment tombstone.
Was this page helpful?