Devices
Reset Device
Schedule an authenticated factory reset
POST
Create a durable factory-reset command for a device. The request is
asynchronous:
A direct device may use its still-valid
202 Accepted means the command is pending, not that the device
has already been wiped.
Factory reset deletes all recordings stored on the physical device,
including active, completed, encrypted, sidecar, and partial-transfer/upload
artifacts. It does not delete cloud recordings, transcriptions, summaries, the
device record, serial number, or manufacturing identity.
How it works
- Bota creates or returns the device’s existing in-flight
factory_resetcommand. The command does not use the normal five-minute command expiry. - The device remains bound and its device token remains valid, but that token is restricted to heartbeat and the exact reset acknowledgement.
- A WiFi/4G heartbeat or authenticated Bluetooth relay delivers the command.
- The device stops recording/upload work and deletes every local recording.
- The device or relay acknowledges the exact command as
executed. - Bota atomically marks the command executed, unbinds the device, revokes its device token, and clears device-level configuration.
- The device clears its remaining user/project credentials and reboots unpaired.
Authentication
Requires an API key withdevices:write scope.
Path Parameters
string
required
The device identifier, for example
dev_abc123.Response
Returns the durable command with HTTP202 Accepted. Repeating the request
while reset is pending or delivered returns the same command.
Complete the reset
After the physical wipe succeeds, acknowledge the exact command:dtok_* token for the first ACK. A
Bluetooth relay may use a secret key or a restricted project key with
devices:write. The command’s rct_* credential is accepted only on this exact
device/command ACK route and remains usable for an idempotent retry if backend
finalization committed but the success response was lost. Read-only restricted
keys can inspect command status but do not receive the credential.
Reset, unbind, and delete
Use factory reset only when the physical device must be wiped. Use
unbind for non-destructive reassignment.

