CmdID / az / az storage / az storage share
az storage share delete
Mark the specified share for deletion. Azure CLI reference
If the share does not exist, the operation fails on the service. By default, the exception is swallowed by the client. To expose the exception, specify True for fail_not_exist.
5 options Its page in the Azure CLI reference
Options
--delete-snapshotsSpecify the deletion strategy when the share has snapshots.--fail-not-existSpecify whether to throw an exception when the share doesn't exists.--name, -nThe file share name.--snapshotA string that represents the snapshot version, if applicable.Specify this argument to delete a specific snapshot only.--timeoutRequest timeout in seconds.