Forum Discussion
Zane_B_332165
Nimbostratus
Sep 13, 201712.1.2: iControlRest, How to add members to pool
According to the documents, it states tot use PATCH and give url of the pool (/mgmt/tm/ltm/pool/~partition~nameOfPool) and essentially pass in the JSON of what to add - in my case it's:
{"membe...
Zane_B_332165
Nimbostratus
Sep 14, 2017As to comment from Kevin.K, it is indeed "members" not "member" (in case you're using 12.x.x with the documentation and ran into the same issue).
So the javascript object should be in this format:
{"members":[{"name":"test01","address":"x.x.x%x","partition":"zzz"},{"name":"test02","address":"x.x.x.x%x","partition":"zzz"}]}
Pointed at:
/mgmt/ltm/tm/~partition~nameOfPool
This is in thanks to Kevin.K's comments
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
