{
  "opencollection": "1.0.0",
  "info": {
    "name": "Github Member API",
    "version": "1.1.4"
  },
  "items": [
    {
      "info": {
        "name": "Member",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GitHub Remove an Organization Member",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/members/:username",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The handle for the GitHub user account."
              }
            ]
          },
          "docs": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories."
        },
        {
          "info": {
            "name": "GitHub Convert an Organization Member to Outside Collaborator",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{protocol}://{hostname}/api/v3/orgs/:org/outside_collaborators/:username",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "path",
                "description": "The organization name. The name is not case sensitive."
              },
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The handle for the GitHub user account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.9/articles/converting-an-organization-member-to-an-outside-collaborator/)\". Converting an organization member to an outside collaborator may be restrict"
        },
        {
          "info": {
            "name": "GitHub Get Team Member (legacy)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/members/:username",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The handle for the GitHub user account."
              }
            ]
          },
          "docs": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.9/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user."
        },
        {
          "info": {
            "name": "GitHub Add Team Member (legacy)",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/members/:username",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The handle for the GitHub user account."
              }
            ]
          },
          "docs": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.9/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.9/gith"
        },
        {
          "info": {
            "name": "GitHub Remove Team Member (legacy)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}/api/v3/teams/:team_id/members/:username",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the team."
              },
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The handle for the GitHub user account."
              }
            ]
          },
          "docs": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.9/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.9/github/getting-sta"
        }
      ]
    }
  ],
  "bundled": true
}