Overview
Permanently deletes a team from your PagerDuty account.Parameters
The ID of the team to delete.
Response
Returns a confirmation message that the team was successfully deleted.Example Usage
Delete a team by ID
Delete after confirmation
Impact of Deleting a Team
What Happens When You Delete a Team
- Team record - The team is permanently removed from PagerDuty
- Team members - Users are removed from the team but remain in PagerDuty
- Services - Services associated with the team lose that association but are not deleted
- Schedules - Schedules associated with the team lose that association but continue functioning
- Escalation policies - Policies associated with the team remain functional
What is NOT Deleted
- Users who were team members
- Services owned by the team
- Schedules assigned to the team
- Incidents or historical data
Deleting a team removes the organizational grouping but preserves all operational resources like services, schedules, and escalation policies.
Pre-Deletion Checklist
Before deleting a team, consider:- Check team members - Use
list_team_membersto see who will be affected - Review services - Identify services associated with the team
- Check schedules - Verify schedules won’t be impacted
- Document purpose - Confirm the team is no longer needed
- Reassign resources - Consider reassigning services/schedules to other teams first
- Communication - Notify team members about the deletion
Common Use Cases
- Team cleanup - Remove obsolete or unused teams
- Reorganization - Delete teams as part of organizational restructuring
- Project completion - Remove temporary teams after project ends
- Consolidation - Delete teams when merging with other teams
- Decommissioning - Clean up after services are retired
Alternatives to Deletion
Consider these alternatives before deleting:Update Instead of Delete
If the team’s purpose changed, use update_team to rename or update the description instead of deleting.Remove Members
If you want to depopulate a team but keep it for historical purposes, use remove_team_member to remove all members.Archive Pattern
Some organizations prefer to rename teams to “[ARCHIVED] Team Name” instead of deleting them, preserving historical associations.Important Notes
Recovery
There is no built-in recovery mechanism for deleted teams. If you accidentally delete a team:- Create a new team with the same name using create_team
- Re-add members using add_team_member
- Re-associate services and schedules
Related Tools
get_team
Verify team details before deletion
list_team_members
Check team membership
update_team
Alternative: Update team instead
list_teams
View all teams
See Also
- Write Mode Configuration - How to enable write tools