Forrest logo
back to the az tool

az-lock:tldr:0cc2f

az-lock: Delete a resource group level lock.
$ az lock delete --name ${lock_name} --resource-group ${group_name}
try on your machine

The command "az lock delete" is used to delete a lock on a resource group or resource in Azure.

  • "--name ${lock_name}" specifies the name of the lock to delete. The "${lock_name}" is a variable that should be replaced with the actual name of the lock.

  • "--resource-group ${group_name}" specifies the name of the resource group that contains the lock. The "${group_name}" is a variable that should be replaced with the actual name of the resource group.

By executing this command, you will delete the lock with the specified name in the given resource group.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the az tool