1 person found this helpful
So 2 things ...
- I know that you need to use the full URI that is returned via the API. For a specific user, it is the @self reference URI that needs to be used, not the URI from the webapp, an example looks like: https://community.jivesoftware.com/api/core/v3/people/xxxxx
- The format of this commands is a List of String and as such needs to be serialized as such, give this a try:
curl -i -u user:pass -H "Content-Type: application/json" -H "Accept: application/json" -X POST --data '["https://your.host.com/api/core/v3/people/xxxx","https://your.host.com/api/core/v3/people/yyyy"]' https://community.jivesoftware.com/api/core/v3/securityGroups/zzzzz/members
The bolded regions are those that you should need to replace.
Hope this helps =)
Thanks. We actually found we could use your Admin plugin to do what we need. But in the interest of learning more about the API, I'll give this a try..