Device Management
Bulk Update Device Metadata
Bulk-update the deviceMetadata (properties) for multiple devices in a single request, identified by their serial/identifier
POST
Overview
This endpoint allows you to update the metadata (properties) for up to 1,000 devices in a single request. Devices are identified by their serial/identifier and scoped to your organization via API key.- Only existing devices are updated; no devices are created. Unrecognized identifiers are reported as
not_found. - All matching devices are updated in a single SQL statement for efficiency.
updatedAtis set to the current time for all updated devices.
Authentication
string
required
Your organization’s API key
Request Body
Record<string, Record<string, unknown>>
required
Object mapping device identifiers (serials) to their new metadata properties. Each value must be a JSON object.
Constraints
devicesmust contain at least 1 entry- Maximum 1,000 devices per request
- Each metadata value must be a JSON object (not
null, array, or primitive) - Identifier keys are trimmed of leading/trailing whitespace before matching
Response
200 OK — Success
boolean
Always
true on a 200 response.number
Count of devices that were found and updated.
number
Count of identifiers that matched no device in the organization.
BulkMetadataResponseItem[]
Per-identifier result in the same order as the input keys.