orgs

Set public organization membership for the authenticated user

The user can publicize their own membership. (A user cannot publicize the membership for another user.)

Note that you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see "HTTP method."

put/orgs/{org}/public_members/{username}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/public_members/{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 23 revisions of this API.