Skip to content

Commit

Permalink
fix: bring back octokit.teams.removeMember()
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jan 24, 2020
1 parent 248a47f commit d439ca7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions plugins/rest-api-endpoints/routes.json
Expand Up @@ -6301,6 +6301,15 @@
},
"url": "/teams/:team_id/repos"
},
"removeMember": {
"deprecated": "octokit.teams.removeMember() has been renamed to octokit.teams.removeMemberLegacy() (2020-01-16)",
"method": "DELETE",
"params": {
"team_id": { "required": true, "type": "integer" },
"username": { "required": true, "type": "string" }
},
"url": "/teams/:team_id/members/:username"
},
"removeMemberLegacy": {
"deprecated": "octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy",
"method": "DELETE",
Expand Down

0 comments on commit d439ca7

Please sign in to comment.