Skip to content

Instantly share code, notes, and snippets.

@colbyford
Created November 17, 2024 19:00
Show Gist options
  • Save colbyford/2ca847a729fed6f17beafce33290864d to your computer and use it in GitHub Desktop.
Save colbyford/2ca847a729fed6f17beafce33290864d to your computer and use it in GitHub Desktop.
Azure role that allows the deletion of resource groups within the subscription.
{
"properties": {
"roleName": "Resource Group Deleter",
"description": "Allows the deletion of resource groups within the subscription.",
"assignableScopes": [
"/subscriptions/<SUBSCRIPTION ID>"
],
"permissions": [
{
"actions": [
"Microsoft.Resources/subscriptions/resourceGroups/delete"
],
"notActions": [],
"dataActions": [],
"notDataActions": []
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment