API Documentation
Home > Total Uptime APIv2.0 Overview > Networking API > Update Server Weight

Update Server Weight

Method:              PUT
URI:                      /ALF/ServerGroup/UpdateServerWeight/{ServerGroupid}/{ServerId}/{Weight}

This method allows you to change the server weight. By default, newly added servers are given a weight of 1. The higher the weight, the greater percentage of traffic the server will receive. Weights cannot be assigned if there is only one server within a server group. Valid “weight” values are from 1 to 99.