1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Files
docs/data/reusables/rest-reference/teams/members.md
2022-02-28 18:30:54 +00:00

936 B

Members

This API is only available to authenticated members of the team's organization. OAuth access tokens require the read:org scope.

{% ifversion fpt or ghes or ghec %} {% note %}

Note: When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "Synchronizing teams between your identity provider and GitHub."

{% endnote %}

{% endif %}