Environments
Update model environment
Updates an environment’s settings and returns the updated environment.
Authorizations
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Body
application/json
A request to update an environment.
Autoscaling settings for the environment
Example:
{
"autoscaling_window": 800,
"concurrency_target": 3,
"max_replica": 2,
"min_replica": 1,
"scale_down_delay": 60
}
Promotion settings for the environment
Example:
{
"ramp_up_duration_seconds": 600,
"ramp_up_while_promoting": true,
"redeploy_on_promotion": true
}
Response
200 - application/json
The response to a request to update autoscaling settings.
Status of the request to update autoscaling settings
Available options:
ACCEPTED
, QUEUED
, UNCHANGED
A message describing the status of the request to update autoscaling settings