09-Sep-2020 04:12
Hi All,
Using below API call to change admin-state of virtual service(vip) but its getting failed. kindly suggest payload.
https://x.x.x.x/mgmt/shared/appsvcs/declare
Body:
[{"op": "add", "path": "/well/vip_prod_avx/enable", "value": "true" }]
Response:
{
"code": 422,
"errors": [
"/well/vip_prod_avx/enable: should be boolean"
],
"declarationFullId": "",
"message": "declaration is invalid"
}
18-Sep-2020 09:52
Hi All,
made few changes it removes the entire VIP from UI, instead of changing the admin state of virtual server, please help with the payload to just change admin state of vip without removing it from UI ?
{
"class": "AS3",
"action": "patch",
"schemaVersion": "3.11.0",
"persist": true,
"patchBody": [
{
"op": "add",
"path": "Infosec/testwebapp/serviceMain_testwebapp/enable",
"value": false
}
]
}