Skip to main content
POST
/
v1
/
models
/
{model_id}
/
deployments
/
{deployment_id}
/
deactivate
cURL
curl --request POST \
--url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/deactivate \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.baseten.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.

Path Parameters

model_id
string
required
deployment_id
string
required

Response

200 - application/json

The response to a request to deactivate a deployment.

success
boolean
default:true

Whether the deployment was successfully deactivated