API reference

Helpdesk device actions

List a person's devices, read BitLocker recovery keys and LAPS passwords, and run Intune remote actions.

Device endpoints follow the rules of account actions: API key + M2M token, the same response shape and errors, and verify-then-act for every secret and remote action. A device has no identity of its own to verify, so a gated device call must send upn: the challenge's user must be that person.

Devices#

List a person's devices#

Directory devices the person owns. device_id is the key for BitLocker and LAPS. Not gated.

GET/v1/workspaces/:workspace_id/entra/users/:user_oid/devicesAPI key + M2M token
Requestbash
curl https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/users/jane@wayne.example/devices \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \  -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"
Response 200json
{  "ok": true,  "data": {    "devices": [      { "id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b", "device_id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e", "display_name": "JANE-LAPTOP", "os": "Windows" }    ]  }}

List a person's managed devices#

Intune-managed devices of the person. id is the managed device ID for remote actions and LAPS rotation. device_id is the directory device ID, matching the list above, or null for a device not in Entra. Not gated.

GET/v1/workspaces/:workspace_id/entra/users/:user_oid/managed-devicesAPI key + M2M token
Response 200json
{  "ok": true,  "data": {    "devices": [      {        "id": "7f8a9b0c-1d2e-4f3a-8b4c-5d6e7f8a9b0c",        "name": "JANE-LAPTOP",        "os": "Windows",        "compliance": "compliant",        "last_sync": "2026-11-19T07:40:00Z",        "device_id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e"      }    ]  }}

Recovery secrets#

Get a BitLocker recovery key#

Returns the device's BitLocker recovery key. Gated. The key is returned once; the audit row records the key ID, never the key.

POST/v1/workspaces/:workspace_id/entra/devices/:device_id/bitlocker-keyAPI key + M2M token
device_idstringrequired
Path. The directory device ID (device_id from the device list).
upnstringrequired
The device owner's UPN, matched against the challenge.
challenge_idstringrequired
The verification.
Requestbash
curl -X POST https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/devices/2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e/bitlocker-key \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \  -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN" \  -H "Content-Type: application/json" \  -d '{ "upn": "jane@wayne.example", "challenge_id": "48da3b64-413f-48f3-bd22-40443fc0019d" }'
Response 200json
{ "ok": true, "data": { "key_id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e", "recovery_key": "123456-234567-345678-456789-567890-678901-789012-890123" } }

404 not_found when the device has no recovery key.

Get a LAPS password#

Returns the device's latest Windows LAPS local administrator password. Gated. Returned once, never stored or logged.

POST/v1/workspaces/:workspace_id/entra/devices/:device_id/laps-passwordAPI key + M2M token
device_idstringrequired
Path. The directory device ID.
upnstringrequired
The device owner's UPN.
challenge_idstringrequired
The verification.
rotate_after_minutesinteger
Have Windows choose a new password this many minutes later, between 5 and 1440, so the one read stops working.
Requestbash
curl -X POST https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/devices/2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e/laps-password \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \  -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN" \  -H "Content-Type: application/json" \  -d '{ "upn": "jane@wayne.example", "challenge_id": "48da3b64-413f-48f3-bd22-40443fc0019d", "rotate_after_minutes": 60 }'
Response 200json
{ "ok": true, "data": { "account_name": "LocalAdmin", "password": "w8#Kd2!pQz7&Rm4t", "backed_up_at": "2026-11-18T22:00:00Z" } }

404 not_found when the device has no LAPS password.

Rotate a LAPS password#

Asks Windows to choose a new LAPS password now. Not gated.

POST/v1/workspaces/:workspace_id/entra/managed-devices/:managed_device_id/laps-rotateAPI key + M2M token
managed_device_idstringrequired
Path. The managed device id.
Requestbash
curl -X POST https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/managed-devices/7f8a9b0c-1d2e-4f3a-8b4c-5d6e7f8a9b0c/laps-rotate \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \  -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"

Remote actions#

Run an Intune remote action#

Gated. remote_lock, retire and wipe also need confirm: true.

POST/v1/workspaces/:workspace_id/entra/managed-devices/:managed_device_id/actionsAPI key + M2M token
managed_device_idstringrequired
Path. The managed device id.
action_namestringrequired
reboot, sync, remote_lock, retire or wipe.
confirmboolean
Required true for remote_lock, retire and wipe.
upnstringrequired
The device owner's UPN.
challenge_idstringrequired
The verification.
Requestbash
curl -X POST https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/entra/managed-devices/7f8a9b0c-1d2e-4f3a-8b4c-5d6e7f8a9b0c/actions \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \  -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN" \  -H "Content-Type: application/json" \  -d '{ "action_name": "sync", "upn": "jane@wayne.example", "challenge_id": "48da3b64-413f-48f3-bd22-40443fc0019d" }'
Response 200json
{ "ok": true }
StatuserrorWhen
422unsupported_device_actionaction_name is not one of the five.
422confirm_requiredA destructive action without confirm: true.

An approval for one device action cannot be spent on another: action_name is part of what an approval covers.