5.1.2. Edit the current configuration for your scaling group

To edit the configuration for a scaling group, which includes the minimum number of entities, the maximum number of entities, global cooldown, and other metadata, submit a PUT request with the tenantId and groupId parameters specified in the request URL.

 

Example 5.3. Request

PUT /{tenantId}/groups/{groupId}/config
                            {
   "name":"workers",
   "cooldown":60,
   "minEntities":5,
   "maxEntities":100,
   "metadata":{
      "firstkey":"this is a string",
      "secondkey":"1"
   }
}

                        

If the PUT request is successful, a 204 response code with an empty response body will be returned



loading table of contents...