Skip to main content
PATCH
Assign users to a device

Authorizations

Authorization
string
header
required

Developer API key from Dashboard → Settings → Developer API

Path Parameters

id
string<uuid>
required

ID of the device.

Body

application/json
userIds
string[]
required

Replaces the device’s entire user assignment set. Send an empty array to clear it. Every ID must be a distinct member of the caller’s organization — duplicates are rejected as invalid.

UUID (v7).

Response

Updated device users

device
object
required