Forrest logo
back to the az tool

az-storage-table:tldr:3518c

az-storage-table: Delete the specified table and any data it contains.
$ az storage table delete --account-name ${storage_account_name} --name ${table_name} --fail-not-exist
try on your machine

This command is used to delete a table from an Azure Storage account using the Azure CLI (Command-Line Interface). Here's an explanation of the components:

  • az storage table delete: The command itself, used to delete a table.
  • --account-name ${storage_account_name}: Specifies the name of the Azure Storage account where the table exists. ${storage_account_name} is a placeholder that should be replaced with the actual name of the storage account.
  • --name ${table_name}: Specifies the name of the table to be deleted. ${table_name} is a placeholder that should be replaced with the actual name of the table.
  • --fail-not-exist: This option indicates that if the specified table does not exist, the command will fail instead of ignoring the absence of the table.

In summary, this command is used to delete a table from an Azure Storage account. It requires specifying the name of the storage account and the table to be deleted. If the table does not exist, the command will fail instead of silently ignoring the non-existent table.

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