Forrest logo
back to the az tool

az-storage-account:tldr:397e4

az-storage-account: Delete a specific storage account.
$ az storage account delete --name ${storage_account_name} --resource-group ${azure_resource_group}
try on your machine

This command is used to delete a storage account in Microsoft Azure. Here's a breakdown of the command:

  • az: It invokes the Azure Command-line Interface (CLI), which is used to manage Azure resources.
  • storage account delete: It specifies the operation to be performed, which is the deletion of a storage account.
  • --name ${storage_account_name}: This flag specifies the name of the storage account to be deleted. ${storage_account_name} is a placeholder indicating that you should replace it with the actual name of the storage account.
  • --resource-group ${azure_resource_group}: This flag specifies the resource group in which the storage account resides. ${azure_resource_group} is a placeholder indicating that you should replace it with the actual name of the resource group.

To use this command, replace ${storage_account_name} with the name of the storage account you want to delete, and ${azure_resource_group} with the name of the resource group it belongs to.

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