Forrest logo
back to the az tool

az-webapp:tldr:ac149

az-webapp: Delete a specific web application.
$ az webapp delete --name ${name} --resource-group ${resource_group}
try on your machine

This command is using the Azure CLI (Command-Line Interface) to delete a web app in Azure. Here's a breakdown of the command and its parameters:

  • az: This is the Azure CLI command. It is used to interact with Azure services through the command-line interface.

  • webapp: This is the Azure CLI command group for managing web apps.

  • delete: This is the specific action within the webapp command group to delete a web app.

  • --name ${name}: This parameter specifies the name of the web app to delete. ${name} is a placeholder that should be replaced with the actual name of the web app. Using this placeholder allows you to provide the name dynamically when running the command.

  • --resource-group ${resource_group}: This parameter specifies the resource group that contains the web app to be deleted. Similarly to --name ${name}, ${resource_group} is a placeholder that should be replaced with the actual name of the resource group.

To use this command, replace ${name} with the name of your web app and ${resource_group} with the name of the resource group that contains the web app.

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