Bulk-update the deviceMetadata (properties) for multiple devices in a single request, identified by their serial/identifier
not_found.updatedAt is set to the current time for all updated devices.devices must contain at least 1 entrynull, array, or primitive)true on a 200 response.| Field | Type | Description |
|---|---|---|
identifier | string | The trimmed device identifier |
deviceId | string | The device’s UUID if found, empty string if not found |
status | "updated" | "not_found" | Whether the device was updated or didn’t exist |
| Message | Cause |
|---|---|
"Invalid JSON payload" | Body is not valid JSON |
"devices is required and must be an object mapping identifiers to metadata" | Missing or wrong type |
"devices must contain at least one entry" | Empty object |
"Too many devices. Maximum 1000 per request" | Exceeds limit |
"Invalid metadata for device \"<identifier>\": must be a JSON object" | A metadata value is null, array, or primitive |
| Code | Description |
|---|---|
| 200 | Devices successfully updated |
| 400 | Validation error (missing or invalid fields, invalid JSON, too many devices) |
| 401 | Authentication error (missing or invalid API key) |
| 500 | Internal server error |