hostedpi cancel
Unprovision one or more Raspberry Pi servers
Usage: hostedpi cancel [OPTIONS] [NAMES]...
Arguments
- names [str ...]
Names of the Raspberry Pi servers to cancel
If no names are given, all Pis in the account will be cancelled
Options
- --filter [str]
Search pattern for filtering server names
- -y --yes
Proceed without confirmation
- --help
Show this message and exit
Alias
hostedpi rm
Usage
Cancel a Pi:
$ hostedpi cancel mypi
Are you sure you want to cancel mypi? [y/N] y
┏━━━━━━┳━━━━━━━━━━━┓
┃ Name ┃ Status ┃
┡━━━━━━╇━━━━━━━━━━━┩
│ mypi │ Cancelled │
└──────┴───────────┘
Note
You can cancel by entering n or interrupting with Ctrl + C.
Cancel multiple Pis by name:
$ hostedpi cancel mypi mypi2
Are you sure you want to cancel mypi, mypi2? [y/N]
┏━━━━━━━┳━━━━━━━━━━━┓
┃ Name ┃ Status ┃
┡━━━━━━━╇━━━━━━━━━━━┩
│ mypi │ Cancelled │
│ mypi2 │ Cancelled │
└───────┴───────────┘
Cancel multiple Pis with a filter:
$ hostedpi cancel --filter mypi
Are you sure you want to cancel mypi, mypi2, mypi3, mypi4? [y/N]
┏━━━━━━━┳━━━━━━━━━━━┓
┃ Name ┃ Status ┃
┡━━━━━━━╇━━━━━━━━━━━┩
│ mypi │ Cancelled │
│ mypi2 │ Cancelled │
│ mypi3 │ Cancelled │
│ mypi4 │ Cancelled │
└───────┴───────────┘
Cancel a Pi without the confirmation step:
$ hostedpi cancel mypi -y
mypi cancelled
┏━━━━━━┳━━━━━━━━━━━┓
┃ Name ┃ Status ┃
┡━━━━━━╇━━━━━━━━━━━┩
│ mypi │ Cancelled │
└──────┴───────────┘
Warning
Be careful!