curl --request POST \
--url https://api.getprimo.com/devices/{deviceId}/lock \
--header 'Authorization: Bearer <token>'{
"success": true,
"platform": "ANDROID",
"message": "<string>"
}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:
Not supported: iOS, Android, Chrome OS
curl --request POST \
--url https://api.getprimo.com/devices/{deviceId}/lock \
--header 'Authorization: Bearer <token>'{
"success": true,
"platform": "ANDROID",
"message": "<string>"
}Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Was this page helpful?