Skip to main content
GET
Get a device group by ID
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

target
object
required

The device-group target filter — the same shape accepted by create/update. Read this, change what you need, and send it back on PUT to preserve targeting when renaming.

deviceIds
string[]
required

IDs of devices currently resolved by this device group target