REST API calls to create a virtual server
Problem this snippet solves: This is a list of curl commands using REST api calls to create a virtual server and other operations. Tested with BIGIP v.12.1.2. How to use this snippet: Firstly obta...
Published Oct 24, 2017
Version 1.0Helena_101649
Nimbostratus
Joined December 05, 2008
Helena_101649
Nimbostratus
Joined December 05, 2008
wjw_313334
Oct 18, 2018Nimbostratus
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 .