Returns a list of groups for the user with the ID specified in the request.
Name | Description | Type | Example |
userid
sent in url
|
User ID | guid | 9924256A-739C-462b-AF15-E652A3B1B6EB |
GET api/2.0/group/user/%229924256A-739C-462b-AF15-E652A3B1B6EB%22 Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json
List of groups
application/json
{ "status": 0, "response": [ { "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB", "Name": "some text", "Manager": "some text" } ] }
text/xml
<result> <status>0</status> <response> <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id> <Name>some text</Name> <Manager>some text</Manager> </response> </result>