Add a team member
PUT
/teams/{id}/members/{userId}Puts one person in a team. Doing it twice is harmless.
Needs the permissionteams:update
Path parameters
idstringrequired- The team.
userIdstringrequired- The person’s user id.
Returns
The team, with them in it.
Errors
400not_a_member- The person isn’t an active member of the organisation.
401invalid_key- The key is wrong, expired or revoked. With no Authorization header at all, the code is
missing_credentials. 403missing_scope- The key doesn’t have
teams:update. TheX-Required-Scopeheader names what’s missing. 403not_admin- The key’s owner isn’t an administrator.
404not_found- There’s no such team.
429rate_limited- More than 120 requests a minute from this key. Wait for
Retry-Afterseconds.