Skip to main content
cURL
curl --request DELETE \
--url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/replicas/{replica_id} \
--header "Authorization: Api-Key $BASETEN_API_KEY"
{
  "success": true
}

Authorizations

Authorization
string
header
required

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
deployment_id
string
required
replica_id
string
required

Response

200 - application/json

The response to a request to terminate a replica in a deployment.

The response to a request to terminate a replica in a deployment.

success
boolean
default:true

Whether the replica was successfully terminated