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

Not implemented yet: scaling is always limited to the resource's allocation. Accepted but ignored.

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

Response

Update scaling profile

Api_V1_Entities_Message model

message
string
required

Response message