Hi,
Direct cmdlet for deleting all the resources that were deployed in a specific deployment using the arm template is not available. you can try the following azure cli code to delete the resources in the resource group
allresources=$(az deployment group show --resource-group 'RGName>' --name 'deployment name' --query "properties.outputResources[].id" -o tsv)
for resource in $allresources; do az resource delete --ids $resource; done
Hope this helps.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--