Forum Discussion

f5bbrown_350186's avatar
f5bbrown_350186
Icon for Nimbostratus rankNimbostratus
Feb 14, 2018

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.