curl --request POST \ 
--url https://api.baseten.co/v1/models/{model_id}/deployments/development/deactivate \ 
--header "Authorization: Api-Key $BASETEN_API_KEY" \ 
{
  "success": true
}

Authorizations

Authorization
string
headerrequired

You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>

Path Parameters

model_id
string
required

Response

200 - application/json
success
boolean
default: true

Whether the deployment was successfully deactivated