...
Info |
---|
Allows a manager to add/remove users in a communityto the manager group, GET will return a manager's users |
Possible Methods
POST GET DELETE
Arguments
n/a
JSON Object
Code Block |
---|
{
String user_id; //id of user to add to community_id
String community_id; //id of community to add user_id to
} |
Example
Code Block |
---|
curl -b cookies.txt -X POST -d '{"user_id":"5357cc8be4b0a329baa475bf","community_id":"53397e29e4b03196ad0606f7"}' "GET "http://localhost:8185/manager/community" > response.txt curl -b cookies.txt -X DELETE -d '{"user_id":"5357cc8be4b0a329baa475bf","community_id":"53397e29e4b03196ad0606f7"}' "http://localhost:8185/manager/community" > response.txt |
...
Info | ||
---|---|---|
curl -b cookies.txt -X POSTDELETE -d '{"user_id":"5357cc8be4b0a329baa475bf","community_id":"53397e29e4b03196ad0606f7"}' "http://localhost:8185/manager/community" > response.txt
|