Forum Discussion
Leonardo_Souza
Mar 23, 2020Cirrocumulus
curl -sk -u test1:test1 -H "Content-Type: application/json" -X PATCH https://192.168.255.1/mgmt/tm/gtm/pool/a/~Common~pool_www/members/~Common~LABBIGIP1.lab.local:www_lab_local -d '{"disabled":true}'
curl -sk -u test1:test1 -H "Content-Type: application/json" -X PATCH https://192.168.255.1/mgmt/tm/gtm/pool/a/~Common~pool_www/members/~Common~LABBIGIP1.lab.local:www_lab_local -d '{"enabled":true}'
First command is to disable, and second to enable.
Pool: pool_www
Pool Member: www_lab_local
If you want more examples: