Remove team membership
DELETE
/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}
Remove membership of a specific user from a particular team in an enterprise.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” enterprise
required
string
The slug version of the enterprise name.
enterprise-team
required
string
The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.
username
required
string
The handle for the GitHub user account.
Responses
Section titled “ Responses ”Response
Forbidden
Media type application/json
Basic Error
Basic Error
object
message
string
documentation_url
string
url
string
status
string
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}