Lock a device
Devices
Lock a device
Lock the device for the given device ID.
Supported platforms: macOS, Windows, Linux
Important: The lock command will be executed the next time the device comes online.
Platform-specific behavior:
- macOS: Locks the device with a 6-digit PIN. The PIN is stored and can be retrieved via the unlock endpoint.
- Windows/Linux: Locks the device without a PIN.
Not supported: iOS, Android, Chrome OS
POST
Lock a device
Key: Write
Scope: Company
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.