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

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

chain_id
string
required
chain_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