chainabit bit delete
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Delete a Bit
Synopsis
text
chainabit bit delete <id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<id> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--yes | Confirm deletion | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Deletes a Bit by its ID. A deleted Bit can no longer be read.
- In an interactive terminal the command asks you to confirm. Declining leaves the Bit unchanged.
- Pass
--yesto confirm in advance. Without--yes, a non-interactive run or a run with--jsonsends nothing and exits with code 2.
The same command is also available as chainabit bits delete.
Output
Prints a receipt that the Bit was deleted. With --json, the output contains deleted set to true.
Authentication and permissions
You must be signed in. The service decides whether you may delete a given Bit; a refusal is shown as an error and nothing changes.
Examples
bash
chainabit bit delete 00000000-0000-4000-8000-000000000001
chainabit bit delete 00000000-0000-4000-8000-000000000001 --yes
chainabit bit delete 00000000-0000-4000-8000-000000000001 --yes --json