Resolution SLB weights are modified based on input parameters.
|RecordId||String||Yes||The resolution record ID|
|Weight||Long||Yes||The expected weight. The range is [1-100]|
For more information about public return parameters, see Public Return Parameters.
|RequestId||String||The unique request identifier|
|RecordId||String||The resolution record ID|
|Weight||Long||The weight after modification|
For errors common to all interfaces, see Error code table.
|Error Code||Description||HTTP Status Code||Language|
|DomainRecordNotBelongToUser||The domain record does not belong to this user.||400||The resolution record does not exist under this account.|
|DomainForbidden||The action could not be completed because the domain has been forbidden.||400||The resolution operation is forbidden on this domain name.|
|DomainRecordLocked||The domain record is locked.||400||The resolution record is locked.|
|DomainRecordDisable||The domain record is disabled.||400||The resolution record is disabled.|
|PanDomainRecord||The domain record is a wildcard domain record.||400||Wildcard resolution does not support weight modification|
|RecordForbidden.BlackHole||The action could not be completed because some records are in black holes.||400||Domain name resolution protects against entry in black holes.|
|RecordForbidden.DNSChange||The action could not be completed because DNS is changing.||400||This operation is forbidden due to DNS migration.|
|DisableDNSSLB||The subdomain’s DNS SLB status is closed.||400||SLB is disabled for the sub-domain name.|
|InvalidWeigth||The weigth value is invalid.||400||Invalid weight.|
&<Public Request Parameters>