Skip to content

Remove public organization membership for the authenticated user

DELETE
/orgs/{org}/public_members/{username}

Removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

username
required
string

The handle for the GitHub user account.

Response