POST
/
v1
/
device
/
windows-mdm
/
devices
/
{deviceId}
/
commands
/
allow-camera
Allow or deny device camera
curl --request POST \
  --url https://coreapi-dev.us.bcpapers.ca/v1/device/windows-mdm/devices/{deviceId}/commands/allow-camera \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "allow": true
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Paste the JWT token only (no "Bearer " prefix needed — the UI adds it automatically).

Path Parameters

deviceId
string
required

Device UUID

Body

application/json

Camera permission. Defaults to allow=true if body is omitted.

allow
boolean

Response

Accepted

message
string