Category Filter
List User Groups
Returns a list of all user groups.
Parameters | Type | Description | Default value |
---|---|---|---|
page | Integer | Optional | 1 |
per_page | Integer | Optional | 100 |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 |
GET https://<portal>.hexnodemdm.com/api/v1/usergroups/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- { "page":1, "per_page":100, } |
Shell Command:
1 |
curl -H "Authorization:<your API key>" https://<portal>.hexnodemdm.com/api/v1/usergroups/ |
HTTP Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
{ "count": 121, "next": "https://<portal>.hexnodemdm.com/api/v1/usergroups/?page=2", "previous": null, "results": [ { "id":1, "groupname":"example", "description":"ios usergroup", "users_count":1, "modified_date":"2017-04-12T13:05:32.237Z" } ] } |