Github API

Getting access, Developing, Testing

Back to Github

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.

Input

type: object properties: parameters: type: object properties: org: type: string description: The organization name. The name is not case sensitive. username: type: string description: The handle for the GitHub user account. required: - org - username title: Parameters