How to disable a subVS with RESTful API
Would like to disable a subVS within a Virtual Service via API command.
Version: 188.8.131.52 or above (to use JSON)
How to disable an entire subVS using the RESTful API
|Steps to Reproduce:|
"apikey" : "<api key>",
"cmd" : "modrs",
"vs" : "<parent virtual service ID>",
"rs" : "!<real server ID of subVS**>",
"enable": false } ' https://<LoadMasterIP>/accessv2
**This number is not the subVS ID. It is the ID in the Parent Virtual Service only under the SubVS tab. These numbers are not the same.
https://user:password@<LoadMasterIP>/access/modrs?vs=<parent virtual service ID>&rs=!<real server ID of the subVS>&enable=false
When using this API command, the subVS can only be disabled by disabling all Real Servers within the specific subVS.