Skip to main content
POST
/
devices
/
{deviceId}
/
lock
Lock a device
curl --request POST \
  --url https://api.getprimo.com/devices/{deviceId}/lock \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "platform": "ANDROID",
  "message": "<string>"
}
Key: Write Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Path Parameters

deviceId
string
required

Response

default - application/json
success
boolean
required
platform
enum<string>
required

The platform of the locked device

Available options:
ANDROID,
IOS,
MACOS,
WINDOWS,
LINUX,
CHROME_OS,
IPADOS,
UNKNOWN
message
string
required

A human-readable description of the lock operation