Forum Discussion
Kevin_K_51432
Historic F5 Account
Greetings, I use curl to make the call which is of course quite different. The call is:
curl -k -u admin:admin https://172.24.17.16/mgmt/tm/ltm/pool/~Common~test-pool/members -H "Content-Type: application/json" -X POST -d '{"name":"10.12.23.29:80","address":"10.12.23.29"}'
In comparing the two, I notice the pool portion has both the partition name and the string "members". Then the new member definition, there's simply the "name" and "address".
Is it possible to adjust your syntax a bit to see if that works?
/mgmt/tm/ltm/pool/~partition~nameOfPool/members
[{"name":"test01","address":"x.x.x%x","partition":"zzz"},
{"name":"test02","address":"x.x.x.x%x","partition":"zzz"}]
Zane_B_332165
Sep 14, 2017Nimbostratus
Kevin, thank you so much.
It appears that the pdf for 12.1.2 had some errors. It is in fact "members" -- and I'm kinda kicking myself for not thinking to try that.
I'd upvote the comment if I could!