PUT
Update scaling profile

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Application UUID

Body

application/json

Update scaling profile

replicas
integer<int32>

Fixed number of running instances (ignored when auto-scaling is enabled)

auto_scaling_enabled
boolean

Enable automatic horizontal scaling based on resource usage

auto_min_replicas
integer<int32>

Minimum number of instances when auto-scaling (at least 1)

auto_max_replicas
integer<int32>

Maximum number of instances when auto-scaling

scaling_start_time
string

Start time for scheduled scaling window (HH:MM format, 24-hour)

scaling_end_time
string

End time for scheduled scaling window (HH:MM format, 24-hour)

within_resources
boolean

false scales an application on a resource beyond its plan: the first replica runs on the resource, and every replica past it, up to the workspace's replicas_per_process limit, is billed by usage: for its RAM, sharing the resource's CPU, or on a dedicated-CPU resource for its CPU and RAM, which the resource's CPU is raised by. Only on a paid resource, not on an enterprise contract, not with RWO storage and while Usage Billing is on for the workspace. Turning it off takes apps:manage. true brings every replica back onto the resource and is refused when they do not fit

cpu_threshold
integer<int32>

CPU usage percentage that triggers scale-up (1-100)

memory_threshold
integer<int32>

Memory usage percentage that triggers scale-up (1-100)

period_enabled
boolean

Enable time-based scaling windows

max_monthly_budget
integer<int32>

Monthly budget in whole US dollars for this application's own usage in a billing cycle, Usage Billing only; null removes it

budget_notification_enabled
boolean

Email the workspace admins at 50% and 75% of the budget and when it is reached, once per cycle

stop_at_budget_limit_enabled
boolean

Scale down to one replica at the budget until the next cycle or until the budget is raised

Response

Update scaling profile

Api_V1_Entities_Message model

message
string
required

Response message