az-storage-container
Verified for current stable LTS
Az Storage Container Command: Delete Container
Use for delete container with Az Storage Container. Exact CLI syntax to delete container using Az Storage Container.
When to use this: Use for delete container with Az Storage Container.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
az storage container delete --account-name <storage_account_name> -n <container_name> --fail-not-exist az storage container delete --account-name <storage_account_name> -n <container_name> --fail-not-exist Command Breakdown
--account-name- Command Option
- Tool-specific option used by this command invocation.
-n- Command Option
- Tool-specific option used by this command invocation.
--fail-not-exist- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to delete container using Az Storage Container.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Az Storage Container Command: Create Container
az storage container create --account-name <storage_account_name> -n <container_name> --public-access <access_level> --fail-on-exist Az Storage Container Command: Generate Sas az storage container generate-sas --account-name <storage_account_name> -n <container_name> --permissions <sas_permissions> --expiry <expiry_date> --https-only Az Storage Container Command: List Containers az storage container list --account-name <storage_account_name> --prefix <filter_prefix> Az Storage Account Command: Generate Sas az storage account generate-sas --account-name <storage_account_name> -n <account_name> --permissions <sas_permissions> --expiry <expiry_date> --services <storage_services> --resource-types <resource_types> Az Storage Blob Command: Download Blob az storage blob download --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> -f <path/to/file>