Overview
Thedelete_alert_grouping_setting tool removes an existing alert grouping setting from your PagerDuty account. After deletion, alerts for the associated services will no longer be grouped according to this setting.
Parameters
The unique identifier of the alert grouping setting to delete.Example:
"PAGRSET1"Response
Returns a confirmation message.Confirmation that the alert grouping setting was successfully deleted.Example:
"Successfully deleted alert grouping setting PAGRSET1"Example Usage
Use Cases
- Remove outdated settings - Delete configurations that are no longer needed
- Clean up test configurations - Remove settings created during testing
- Service decommissioning - Delete grouping settings for retired services
- Configuration reset - Remove a setting before creating a new one
- Simplify configuration - Eliminate unused or redundant grouping rules
Important Notes
After Deletion:
- Alerts for the associated services will no longer be grouped according to this setting
- Existing incidents are not affected - only future alert grouping behavior changes
- You may need to create a new setting if you want different grouping behavior
- Services without an alert grouping setting will follow default PagerDuty alert behavior
Best Practices
- Verify before deleting - Use the
get_alert_grouping_settingtool to review the configuration before deletion - Check service impact - Understand which services will be affected
- Document the change - Note why the setting was deleted for future reference
- Test in non-production - If possible, test the impact in a non-production environment first
- Have a rollback plan - Be prepared to create a new setting if needed
Example Workflow
Response Example
Error Scenarios
- Setting not found - The setting ID doesn’t exist or was already deleted
- Permission denied - You lack permissions to delete alert grouping settings
- Write tools disabled - The
--enable-write-toolsflag is not set
Related Tools
- Get Alert Grouping Setting - Review setting before deletion
- List Alert Grouping Settings - View all settings
- Create Alert Grouping Setting - Create a replacement setting
- Update Alert Grouping Setting - Modify instead of deleting