Update the autoscaling config for a service

PUT {{baseUrl}}/services/:serviceId/autoscaling

Request Body

{"enabled"=>false, "min"=>"<integer>", "max"=>"<integer>", "criteria"=>{"cpu"=>{"enabled"=>false, "percentage"=>"<integer>"}, "memory"=>{"enabled"=>false, "percentage"=>"<integer>"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;enabled&quot;:false,&quot;min&quot;:&quot;\u003cinteger\u003e&quot;,&quot;max&quot;:&quot;\u003cinteger\u003e&quot;,&quot;criteria&quot;:{&quot;cpu&quot;:{&quot;enabled&quot;:false,&quot;percentage&quot;:&quot;\u003cinteger\u003e&quot;},&quot;memory&quot;:{&quot;enabled&quot;:false,&quot;percentage&quot;:&quot;\u003cinteger\u003e&quot;}}}