Manager / Community
/manager/community
Allows a manager to add/remove users to the manager group, GET will return a manager's users
Possible Methods
GET DELETE
Arguments
n/a
JSON Object
{ String user_id; //id of user to add to community_id }
Â
Example
curl -b cookies.txt -X GET "http://localhost:8185/manager/community" > response.txt curl -b cookies.txt -X DELETE -d '{"user_id":"5357cc8be4b0a329baa475bf"}' "http://localhost:8185/manager/community" > response.txt
Â
Example Response
curl -b cookies.txt -X DELETE -d '{"user_id":"5357cc8be4b0a329baa475bf"}' "http://localhost:8185/manager/community" > response.txt
Â
 { "response": { "action": "Manager/Community", "success": true, "message": "Removed user from manager group successfully", "time": 0 } }