Forum Discussion
Angelina_Ilieva
Nimbostratus
Mar 23, 2020Disable member from GMT pool via REST API
Our GTM is v 11.6.1 and I am using the Rest API to pull pool members. Upon deployment we have to disable on e of the members. I cannot get the API to respond to us disabling the member off o...
Leonardo_Souza
Cirrocumulus
Mar 23, 2020curl -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:
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
