Raff Apps

Scale app service

Update the replica count, autoscaling bounds, or scale-to-zero. Live services apply the change with no downtime.

post/api/v1/apps/services/{service_id}/scale

Path parameters

service_idstring required

App service ID (UUID) or short id (the service_id field)

Request body

replicasinteger
autoscaling_setboolean

Set true to apply the autoscaling fields

autoscaling_enabledboolean
min_replicasinteger
max_replicasinteger
autoscaling_metricstring
autoscaling_targetinteger
scale_to_zeroboolean

Response

Updated service

successboolean

Changes