REST API calls to create a virtual server
Published Oct 24, 2017
Version 1.0Was this article helpful?
Thanks Helena, it works and the syntax are as followings:
Disable VS:
curl -sku user:passwd -H "Content-Type: application/json" -X PATCH -d '{"disabled": true}' |jq .
Enable VS:
curl -sku user:passwd -H "Content-Type: application/json" -X PATCH -d '{"enabled": true}' |jq .