Forum Discussion
Disabling a pool member
I'm having trouble disabling a pool member. I'm using the following syntax and is is returning an Error 400.
curl -sk -u admin:admin -H "Content-Type: application/json" -X PUT -d '{"session": "user-disabled"}'
I have also tried: -d '{"state": "user-up", "session": "user-disabled"}'
I'm running this from a bash shell. I think my problem may be the %3. I have tried escaping it but no joy.
Any help will be appreciated.
- Daniel_Varela
Employee
Here my two cents. Have you tried to encode %? %25 is % url encoded.
- Satoshi_Toyosa1Ret. Employee
Please refer to Jason Rahm's iControl REST: Working with Pool Members. The API documentation can be found in APIRef_tm_ltm_pool_members.
Try GET command first to get exact pool members details and use the same for PUT.
curl -sk -u admin:admin
Recent Discussions
Related Content
* 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