Action - Set Weight
Set weight on one or more ADC objects for which the action applies to.
Supported on the following object types:
- Citrix – SLB service group member, SLB service, Service
- A10 – Service group member, Server
URL: /adc-device-object-action-weight
Type:PUT
Parameter
| Param Type | Name | Description | Field Type |
|---|---|---|---|
| Header | sessionId ** | Session Id received after login | String |
| Query | Gwkey | Tenant Key. Needed only in case of multitenant installations | String |
| Query | gwsource** | Source from which the request is triggered (for example, web, external) | String |
| Payload | objectIds** | Resource id of the objects. Note: Use the search API to search/get the resource id | String[] |
| Payload | weight | Weight to set | Integer |
** - Mandatory value
Possible Response Message and Code
| HTTP Code | Description | Response Message |
|---|---|---|
| 202 | Accepted | The action triggered the following <#> objects … |
| 400 | Bad request | No objects found to perform an action |
| 403 | Forbidden | No given object(s) have Read or Write permission |