Example Procedure: Deleting a Snapshot

To delete a Snapshot, complete the following steps:

  1. Run the following command:

    ./iaas-delete-snapshot --base-url https://<localhost>/ -a ak.file --snapshot-id SNAP-7a717e39-fe67-4573-a93d-889b3446176b

    The command deletes the specified Snapshot. The command does not return any value; only the command prompt is displayed.

  2. Verify the deletion by running the iaas-describe-snapshots command, as in the following example:

    ./iaas-describe-snapshots --base-url https://<localhost>/ -a ak.file --ids SNAP-7a717e39-fe67-4573-a93d-889b3446176b

    In the output, you should not see the Snapshot SNAP-7a717e39-fe67-4573-a93d-889b3446176b, which is deleted.