Update Device Settings
Update the settings of the device.
Authorizations
Short-lived session token obtained from POST /api/sessions/v2.
Send it as Authorization: Bearer <session_token> together with the X-Device-Key: <device-key> header identifying the target device.
Headers
Device Key (4 BIP39 words) identifying the target device.
Obtain it from POST /device/otp/confirm/v2.
^[a-z]+-[a-z]+-[a-z]+-[a-z]+$"alpha-bravo-charlie-delta"
Body
The name of the device.
"My Awesome Device"
Enable/disable WiFi on device.
true
Enable/disable BLE on device.
true
If enabled device is powered on after 3 seconds mode button hold. If disabled - after 500 ms.
true
String shown after "Hello!" label on intro screen.
"Welcome!"
Client name that is set by the client after connection (max 64 chars).
"My App"
Response
Updated Device Settings
The name of the device.
"My Awesome Device"
Enable/disable WiFi on device.
true
Enable/disable BLE on device.
true
If enabled device is powered on after 3 seconds mode button hold. If disabled - after 500 ms.
true
String shown after "Hello!" label on intro screen.
"Welcome!"
Client name that is set by the client after connection (max 64 chars).
"My App"