group

Groups access

Name Resource Description
Get all GET api/2.0/group Returns the general information about all groups, such as group ID and group manager
Get by id 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
Get by user id GET api/2.0/group/user/{userid} Returns the group list for user
Add group POST api/2.0/group Adds a new group with the group manager, name and users specified
Set members to POST api/2.0/group/{groupid}/members Manages the group users deleting the current users and setting new ones instead
Update group PUT api/2.0/group/{groupid} Updates an existing group changing the group manager, name and/or users
Add members to PUT api/2.0/group/{groupid}/members Add new group users keeping the current users and adding new ones
Set manager PUT api/2.0/group/{groupid}/manager Sets the user with the ID sent as a manager to the selected group
Transfer members to 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 members from DELETE api/2.0/group/{groupid}/members Removes the specified group users with all the rest current group users retained