Az group delete

Let’s discuss the syntax and usage of the az group delete Azure CLI command with an example of how to use this command.

Az group delete

This Azure CLI command can help you quickly delete an existing Azure Resource Group.

Syntax

Below is the syntax of the az group delete command.

az group delete --name of the Resource Group

Example

Below Azure CLI command will delete the Specified Resource Group.

az group delete -n Apple

After executing the above command, type y for the confirmation, and the Resource Group is deleted successfully. Check out the screenshot below.

az group delete force

You can also use the Az group create command to create an Azure Resource Group quickly.

You can also check out the below-related articles

Conclusion

In this Azure CLI article, we discussed the syntax and usage of the az group delete command with an example. Thanks for reading this article !!!

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!