Deactivates a deployment and returns the deactivation status.
cURL
curl --request POST \ --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/deactivate \ --header "Authorization: Api-Key $BASETEN_API_KEY"
{ "success": true }
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>
The response to a request to deactivate a deployment.
Was this page helpful?