Devices
Cancel Recording Command
Cancel a pending recording command
DELETE
Cancel a pending command. Only commands withDocumentation Index
Fetch the complete documentation index at: https://docs.bota.dev/llms.txt
Use this file to discover all available pages before exploring further.
pending status can be cancelled.
Authentication
Requires an API key withdevices:write scope.
Path Parameters
The device’s unique identifier (e.g.,
dev_abc123).The command’s unique identifier (e.g.,
cmd_xyz789).Response
Returns the command object withstatus set to cancelled.
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Command identifier |
device_id | string | Target device (dev_*) |
type | string | start_recording or stop_recording |
status | string | cancelled |
params | object | Command parameters |
result | object | null | Always null for cancelled commands |
error | object | null | Always null for cancelled commands |
expires_at | string | null | Original expiration timestamp |
delivered_at | string | null | Always null for cancelled commands |
executed_at | string | null | Always null for cancelled commands |
created_at | string | Creation timestamp (ISO 8601) |
Notes
- Only commands in
pendingstatus can be cancelled - Commands that have been
delivered,executed,failed, orexpiredcannot be cancelled - Cancellation is immediate and the command will not be delivered to the device

