...
The Delete Azure Web App action can be used to delete web apps on Azure.
See also the Delete Azure Web App Action.
Delete Azure Web App
Name
A friendly name for this action (will be displayed in the actions workflow area).
...
Enter the application name or the URL associated with the service principal. [login --service-principal --username]
...
Keep DNS registration
If this is ticked, the DNS registration associated with the web app is kept. [--keep-dns-registration]
Keep empty app service plan
If this is ticked, any empty app service plan is kept. [--keep-empty-plan]
Keep app metrics
If this is ticked, related app metrics are kept. [--keep-metrics]
...