Skip to content

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 ​

ArgumentDescriptionDefault
<id>Required.—

Options ​

OptionDescriptionDefault
--yesConfirm 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 --yes to confirm in advance. Without --yes, a non-interactive run or a run with --json sends 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

Built with purpose. chainabit.com