lbcli delete snapshot (2.2 and above)
Deletes an existing snapshot.
Synopsis
Deletes a snapshot with a specified UUID or name.
lbcli delete snapshot [UUID|NAME] [flags]
Examples:
# Delete a single snapshot with UUID 302e7970-b138-11e9-91d4-525401643394.
lbcli -J $JWT delete snapshot --uuid="302e7970-b138-11e9-91d4-525401643394" --project-name="proj-a"
# Delete a single Snapshot with name snapshot_0.
lbcli -J $JWT delete snapshot --name="snapshot_0" --project-name="proj-a"
Flag | Type | Description |
|---|---|---|
--help | bool | Help for snapshot. |
--name | string | Name of the snapshot to be deleted (required if UUID is not given). |
--project-name | string | The name of the project associated with the snapshot. |
--uuid | string | The UUID of the snapshot to be deleted (required if name is not given). |
Last updated on
Was this page helpful?
© 2026 Lightbits Labs™
Lightbits Command Line Interface