curl --request POST \
--url https://api.getprimo.com/devices/{deviceId}/unlock \
--header 'Authorization: Bearer <token>'{
"success": true,
"platform": "ANDROID",
"message": "<string>",
"unlockPin": "<string>"
}Unlock the device for the given device ID.
Supported platforms: macOS, Windows, Linux
Platform-specific behavior:
Not supported: iOS, Android, Chrome OS
curl --request POST \
--url https://api.getprimo.com/devices/{deviceId}/unlock \
--header 'Authorization: Bearer <token>'{
"success": true,
"platform": "ANDROID",
"message": "<string>",
"unlockPin": "<string>"
}Use your Primo API key in the Authorization header as Bearer <API_KEY>.
The platform of the unlocked device
ANDROID, IOS, MACOS, WINDOWS, LINUX, CHROME_OS, IPADOS, UNKNOWN A human-readable description of the unlock operation
Unlock PIN to enter on the device (macOS only). Null for platforms where unlock is handled remotely.
Was this page helpful?