orgs
Remove organization membership for a user
In order to remove a user's membership with an organization, the authenticated user must be an organization owner.
If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
delete/orgs/{org}/memberships/{username}
Request
- Base URL: http://HOSTNAME/api/v3
- URL: http://HOSTNAME/api/v3/orgs/{org}/memberships/{username}
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
usernamestring required
The handle for the GitHub user account.
Response
Response
Changes
No recorded changes to this operation across all 50 revisions of this API.