prow/github/client.go
func (c *Client) RemoveOrgMembership(org, user string) error {
	c.log("RemoveOrgMembership", org, user)
	_, err := c.request(&request{
		method:    http.MethodDelete,
		path:      fmt.Sprintf("/orgs/%s/memberships/%s", org, user),
		exitCodes: []int{204},
	}, nil)
	return err
}
func (c *Client) RemoveOrgMembership(org, user string) error {
	c.log("RemoveOrgMembership", org, user)
	_, err := c.request(&request{
		method:    http.MethodDelete,
		path:      fmt.Sprintf("/orgs/%s/memberships/%s", org, user),
		exitCodes: []int{204},
	}, nil)
	return err
}
func ( c * Client ) RemoveOrgMembership ( org , user string ) error { c . log ( " " , org , user ) _ , err := c . request ( & request { method : http . MethodDelete , path : fmt . Sprintf ( " " , org , user ) , exitCodes : [ ] int { 204 } , } , nil ) return err }
// RemoveOrgMembership removes the user from the org.
//
// https://developer.github.com/v3/orgs/members/#remove-organization-membership
RemoveOrgMembership removes the user from the org . https : // developer . github . com / v3 / orgs / members / #remove - organization - membership