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:
all information comes directly from using the iControlRest api to get that data, and has worked with other commands (such as creating the pool and nodes).
However in trying to add the nodes to the pool, I get the response:
Response body: {“code”:400,“message”:“one or more properties must be specified”,“errorStack”:[],“apiError”:26214401}
(If needed, I’m using the iControlRest api with VMWare’s vRO)
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?
Sadly, when I put it in that format the response is:
{“code”:400,“message”:“Found invalid JSON body in the request. The expected JSON type is object. The received JSON type is array.”,“errorStack”:[],“apiError”:1}
It doesn’t like it as an array instead of a JSON string.