Overview
Manage team membership in PagerDuty by adding users to teams, removing users from teams, and listing current team members. This page covers three related tools:add_team_member- Add a user to a teamremove_team_member- Remove a user from a teamlist_team_members- List all members of a team
list_team_members
Retrieves a list of all users who are members of a specific team.This is a read-only tool that does not modify any data.
Parameters
The ID of the team to list members for.
Response
Returns a list of user references. Each user includes:id- The user’s PagerDuty IDsummary- The user’s namehtml_url- Link to the user’s profile
Example Usage
add_team_member
Adds a user to a team with a specific role.Parameters
The ID of the team to add the user to.
The ID of the user to add to the team.
The role to assign to the user. Options:
manager- Full team management permissionsresponder- Can respond to incidents for team servicesobserver- Read-only access to team resources
Response
Returns a confirmation message that the user was successfully added to the team.Example Usage
remove_team_member
Removes a user from a team.Parameters
The ID of the team to remove the user from.
The ID of the user to remove from the team.
Response
Returns a confirmation message that the user was successfully removed from the team.Example Usage
Understanding Team Roles
Team roles determine what permissions users have for team-owned resources:Manager
- View and modify team settings
- Add or remove team members
- Manage team-owned services and schedules
- Assign services to the team
- Full access to team resources
Responder
- Respond to incidents on team services
- View team services and schedules
- Participate in on-call rotations
- Cannot modify team settings or membership
Observer
- Read-only access to team resources
- View team services, schedules, and members
- Cannot respond to incidents or modify settings
Roles are team-specific. A user can be a manager on one team and an observer on another.
Common Use Cases
Onboarding New Team Members
- List current members to understand team composition
- Add the new user with the appropriate role
- Verify the addition by listing members again
Team Reorganization
- List members of both source and destination teams
- Remove users from the old team
- Add users to the new team with appropriate roles
Access Auditing
- List members of all teams
- Review roles and permissions
- Remove users who no longer need access
- Adjust roles for users with changed responsibilities
Role Changes
To change a user’s role on a team:- Remove the user from the team
- Add them back with the new role
Important Notes
Users can be members of multiple teams simultaneously with different roles on each team.
Impact of Membership Changes
Adding a Member
- User gains access to team resources based on their role
- User can be added to team schedules and escalation policies
- User sees team services and incidents in their PagerDuty view
- No automatic addition to schedules or on-call rotations
Removing a Member
- User loses access to team resources
- User remains in any schedules or escalation policies (must be removed separately)
- User’s historical incident data is preserved
- On-call assignments involving this user continue until modified
Related Tools
list_teams
View all teams
get_team
Get team details
list_users
List all users in PagerDuty
list_schedules
View team schedules
See Also
- Write Mode Configuration - How to enable write tools