team membership api clarification

Hey i just wanted to clarify something about the api. To add users to a team there seems to be two ways of doing it:

  1. assigning it via the user api endpoint
  2. assigning it via the team endpoint

what is the differences between doing it via the two ways ?

Hi @rowan_self,

I think the only way to add a user to a team is via!/Teams/put_teams_id_users_user_id

That’s how I do it - [](github: simonfiddaman/pagerduty-team-sync).


cool thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.