group

Groups access

Name Resource Description
All groups GET api/2.0/group Returns the general information about all groups, such as group ID and group manager
Specific group GET api/2.0/group/{groupid} Returns the detailed information about the selected group: group name, category, description, manager, users and parent group if any
User groups GET api/2.0/group/user/{userid} Returns the group list for user
Add new group POST api/2.0/group Adds a new group with the group manager, name and users specified
Set group users POST api/2.0/group/{groupid}/members Manages the group users deleting the current users and setting new ones instead
Update existing group PUT api/2.0/group/{groupid} Updates an existing group changing the group manager, name and/or users
Add group users PUT api/2.0/group/{groupid}/members Add new group users keeping the current users and adding new ones
Set group manager PUT api/2.0/group/{groupid}/manager Sets the user with the ID sent as a manager to the selected group
Move group users PUT api/2.0/group/{groupid}/members/{newgroupid} Move all the users from the selected group to another one specified
Delete group DELETE api/2.0/group/{groupid} Deletes the selected group from the list of groups on the portal
Remove group users DELETE api/2.0/group/{groupid}/members Removes the specified group users with all the rest current group users retained