Skip to content

List device groups
Stable

Request

Get a list of groups in the Devices & Groups.

Security
apiKey
Path
enterprise_idstringrequired

A UUID string identifying enterprise.

Query
namestring

Filter by group name

limitinteger

Number of results to return per page.

Default:20
offsetinteger

The initial index from which to return the results.

Default:0
cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/enterprise/{enterprise_id}/devicegroup/?name=string&limit=20&offset=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

successful operation

Bodyapplication/json
countintegerrequired
nextstring or null, (url)
previousstring or null, (url)
resultsArray of objects(DeviceGroup)required
Response
{ "count": 0, "next": "string", "previous": "string", "results": [ {} ] }