Skip to main content
GET
/
device-groups
/
{deviceGroupId}
Get a device group by ID
curl --request GET \
  --url https://api.getprimo.com/device-groups/{deviceGroupId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "deviceIds": [
    "<string>"
  ]
}
Key: Read Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Path Parameters

deviceGroupId
string
required

Response

default - application/json
id
string
required

Device group ID

name
string
required

Device group name

deviceIds
string[]
required

IDs of devices targeted by this device group