/manager/datagroup/{user_id}/{community_id}
Info |
---|
Returns a list of this managers datagroups they can add users to (GET) Allows a manager to add a user to a datagroup (POST) Allows a manager to remove a user from a datagroup (DELETE) Note: the user_id and community_id can either be given on the url or in the payload, the url arguments will always take precedence |
Possible Methods
GET POST DELETE
...
Code Block |
---|
curl -b cookies.txt -X GET "http://localhost:8185/manager/datagroup" > response.txt curl -b cookies.txt -X POST -d '{ "user_id":"abcde", "community_id":"12345" }}' "http://localhost:8185/manager/datagroup" > response.txt curl -b cookies.txt -X DELETE -d '{ "user_id":"abcde", "community_id":"12345" }}' "http://localhost:8185/manager/datagroup" > response.txt curl -b cookies.txt -X DELETE "http://localhost:8185/manager/datagroup/abcde/12345" > response.txt |
Example Response
...