--- swagger: "2.0" x-collection-name: GitHub x-complete: 0 info: title: Github Delete Teams Team Members Username description: |- The "Remove team member" API is deprecated and is scheduled for removal in the next major version of the API. We recommend using the Remove team membership API instead. It allows you to remove both active and pending memberships. Remove team member. In order to remove a user from a team, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. NOTE This does not delete the user, it just remove them from the team. termsOfService: https://help.github.com/articles/github-terms-of-service/#b-api-terms version: 1.0.0 host: api.github.com basePath: / schemes: - http produces: - application/json consumes: - application/json paths: /teams/{teamId}/members/{username}: delete: summary: Delete Teams Team Members Username description: |- The "Remove team member" API is deprecated and is scheduled for removal in the next major version of the API. We recommend using the Remove team membership API instead. It allows you to remove both active and pending memberships. Remove team member. In order to remove a user from a team, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. NOTE This does not delete the user, it just remove them from the team. operationId: the-remove-team-member-api-is-deprecated-and-is-scheduled-for-removal-in-the-next-major-version-of-t x-api-path-slug: teamsteamidmembersusername-delete parameters: - in: header name: Accept description: Is used to set specified media type - in: query name: access_token description: Your Github OAuth token - in: path name: teamId description: Id of team - in: path name: username description: Name of a member responses: 200: description: OK tags: - Teams - Team - Members - Username x-streamrank: polling_total_time_average: 0 polling_size_download_average: 0 streaming_total_time_average: 0 streaming_size_download_average: 0 change_yes: 0 change_no: 0 time_percentage: 0 size_percentage: 0 change_percentage: 0 last_run: "" days_run: 0 minute_run: 0 ---