GET api/2.0/groups/user/{userid} This function requires authentication

Description

Returns a list of groups for the user with the ID specified in the request.

Parameters
Name Description Type Example
userid
sent in url
User ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Example
GET api/2.0/groups/user/%229924256A-739C-462b-AF15-E652A3B1B6EB%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of groups

Example Response
{
  "status": 0,
  "response": [
    {
      "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
      "Name": "some text",
      "Manager": "some text"
    }
  ]
}