curl --request POST \
--url https://api.baseten.co/v1/models/{model_id}/environments/{env_name}/cancel_promotion \
--header "Authorization: Api-Key $BASETEN_API_KEY"
{
  "status": "CANCELED",
  "message": "<string>"
}

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
env_name
string
required

Response

200 - application/json

The response to a request to cancel a promotion.