Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Path Parameters

model_id
string
required
env_name
string
required

Body

application/json

A request to update an environment.

autoscaling_settings
UpdateAutoscalingSettingsV1 · object | null

Autoscaling settings for the environment

Example:
promotion_settings
UpdatePromotionSettingsV1 · object | null

Promotion settings for the environment

Example:

Response

200 - application/json

The response to a request to update autoscaling settings.

status
enum<string>
required

Status of the request to update autoscaling settings

Available options:
ACCEPTED,
QUEUED,
UNCHANGED
message
string
required

A message describing the status of the request to update autoscaling settings