Forrest logo
back to the az tool

az-storage-entity:tldr:dc95f

az-storage-entity: Delete an existing entity from a table.
$ az storage entity delete --partition-key ${partition_key} --row-key ${row_key} --table-name ${table_name} --account-name ${storage_account_name} --account-key ${storage_account_key}
try on your machine

This command is used to delete an entity from an Azure Storage table.

  • az storage entity delete: This is the Azure CLI command to delete an entity from a storage table.

Parameters:

  • --partition-key: This specifies the partition key of the entity to be deleted. The ${partition_key} is a placeholder that will be replaced with the actual partition key value.
  • --row-key: This specifies the row key of the entity to be deleted. The ${row_key} is a placeholder that will be replaced with the actual row key value.
  • --table-name: This specifies the name of the storage table from which the entity needs to be deleted. The ${table_name} is a placeholder that will be replaced with the actual table name.
  • --account-name: This specifies the name of the Azure Storage account where the table exists. The ${storage_account_name} is a placeholder that will be replaced with the actual storage account name.
  • --account-key: This specifies the key of the Azure Storage account for authentication. The ${storage_account_key} is a placeholder that will be replaced with the actual storage account key.

Once you provide all the necessary values for the placeholders and execute this command, it will delete the specified entity from the specified Azure Storage 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