CmdID / az / az storage / az storage container / az storage container lease
az storage container lease release
Release the lease. Azure CLI reference
The lease may be released if the lease_id specified matches that associated with the container. Releasing the lease allows another client to immediately acquire the lease for the container as soon as the release is complete.
1 example 2 options Its page in the Azure CLI reference
Examples
Release the lease.
az storage container lease release -c mycontainer --lease-id "32fe23cd-4779-4919-adb3-357e76c9b1bb" --account-name mystorageaccount --account-key 0000-0000Identify-cThe container name.--lease-idLease ID for active lease.Options
--container-name, -c--lease-idLease ID for active lease.