Get code history for multiple devices
Devices
Get code history for multiple devices
Return the decrypted code history (recovery key, iCloud bypass code, unlock PIN, recovery OS password) for MULTIPLE devices in one call, grouped by device id, each newest first. Provide a list of deviceIds (up to 200 per call), optionally filtered by type. Devices that do not exist, or that do not belong to your company, are returned with an empty data array. Prefer this over calling getDeviceCodeHistory once per device.
POST
Get code history for multiple devices
Key: Read
Scope: Company
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Body
application/json
Response
default - application/json
Code history grouped by device id.