Forum Discussion
Rudi_95802
Jun 06, 2014Nimbostratus
How do I enable and disable pool members using iControlREST
Hi
I'm trying to the following PUT request to enable a pool member (IP's masked out):
https://10.102.xx.xx/mgmt/tm/ltm/pool/~QA~pool_vcoza_portal_UAT/members/~QA~10.102.xx.xx:9001
My request ha...
Kapil_Malhotra_
Nimbostratus
I tried this but getting the following error. {"code":415,"message":"Found invalid content-type. The content-type must be application/json. The received content-type is application/x-www-form-urlencoded","errorStack":[]}
Kapil_Malhotra_
Mar 13, 2015Nimbostratus
Hi Jason,
-H "Content-Type: application/json was part of my query but still getting the error posted above
curl -sk -u kapil:xxxxx https://xxxxxxxx/mgmt/tm/ltm/pool/test-default/members/~Common~10.xx.xx.xx:10001/ \ -H "Content.Type: application/json" -X PUT -d '{"state": "user-down", "session": "user-disabled"}'
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