Skip to main content
POST
/
projects
/
{projectId}
/
environments
/
{environmentId}
/
autoscaling
/
settings
Updates Autoscaler settings
curl --request POST \
  --url {schemes}://api.upsun.com/projects/{projectId}/environments/{environmentId}/autoscaling/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "services": {}
}'
{
  "services": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

A string that uniquely identifies the project

environmentId
string
required

A string that uniquely identifies the project environment

Body

application/json

Settings to update

Update model for autoscaling settings.

This model is mainly used for partial updates (PATCH), therefore all its attributes are optional.

services
Services · object

Each service for which autoscaling is configured is listed in the key

Response

200 - application/json

Updated Autoscaler settings

Update model for autoscaling settings.

This model is mainly used for partial updates (PATCH), therefore all its attributes are optional.

services
Services · object

Each service for which autoscaling is configured is listed in the key

Last modified on April 10, 2026