Unlock a device
post
https://api.flactrum.com/v1/devices/{device}/unlock
| Required scope | devices.write |
| Success status | 200 |
| Returns | One Device object |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| device * | path | string | ULID of the record. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| code | string | Unique within the brand. |
| branch_id | string|null | — |
| type | string | — |
| status | string | — |
| app_version | string|null | — |
| auto_update | boolean | — |
| last_seen_at | string|null | — |
| is_locked | boolean | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X POST 'https://api.flactrum.com/v1/devices/01m43mzpk0ss9yqz9j59v2xk9r/unlock' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": {
"id": "01m43mzpk0ss9yqz9j59v2xk9r",
"code": "KIOSK-01",
"branch_id": "01m43mzph1pzmpsy053ctb51yx",
"type": "kiosk",
"status": "offline",
"app_version": null,
"auto_update": true,
"last_seen_at": "2026-10-04T14:27:16+00:00",
"locked_at": null,
"is_locked": false,
"note": null,
"created_at": "2026-10-04T14:27:16+00:00",
"updated_at": "2026-10-04T14:27:16+00:00"
}
}