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
Group
application/json
{ "status": 0, "response": [ { "Id": "00000000-0000-0000-0000-000000000000", "Name": "Group Name", "Manager": "Jake.Zazhitski" } ] }
text/xml
<result> <status>0</status> <response> <Id>00000000-0000-0000-0000-000000000000</Id> <Name>Group Name</Name> <Manager>Jake.Zazhitski</Manager> </response> </result>