Github API - Test Config

GET /teams/{team_id}/invitations
teams

Deprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new List pending team invitations endpoint.

The return hash contains a role field which refers to the Organization Invitation role and will be one of the following values: direct_member, admin, billing_manager, hiring_manager, or reinstate. If the invitee is not a GitHub member, the login field in the return hash will be null.
List pending team invitations (Legacy)

Arguments
key team-id

team-id [scalar]

The unique identifier of the team.

API:
Github Open API
(version: 1.1.4)

key per-page

per-page [scalar]

The number of results per page (max 100).

API:
Github Open API
(version: 1.1.4)

key page

page [scalar]

Page number of the results to fetch.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json organization-invitation []

organization-invitation [object]

Organization Invitation

Attributes
created_at string

email string

failed_at string

failed_reason string

id integer

invitation_source string

invitation_teams_url string

inviter simple-user

login string

node_id string

role string

team_count integer

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)