groupService

Transfer groups to another user.

Transfer groups to another user.

post/groups/v1/transferToDepartment

Request body

oldUserIdstring required
departmentUserIdsstring[]
ownerboolean
moderatorboolean

Example request

{
  "departmentUserIds": [
    "11",
    "22"
  ],
  "owner": true
}

Response

OK

statusboolean
countGroupsinteger
countModeratorinteger

Example response

{
  "status": true,
  "countGroups": 2,
  "countModerator": 4
}

Changes