Skip to main content

Get restrictions for a device

GET 

/api/v2/device/:deviceId/restrictions

Returns all restrictions that apply to the given device ID, as synced from the main server. Returns an empty array when no restrictions are configured for the device.

Request

Path Parameters

    deviceId stringrequired

    The unique identifier of the device

Responses

Restrictions for the device

Schema

  • Array [

  • createdAt stringrequired
    description stringnullable
    id stringrequired
    isActive booleanrequired
    name stringrequired
    rule required
    type stringrequired
    updatedAt stringrequired
    version int32required
  • ]

Loading...