Skip to main content

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 verbs](https://docs.github.com/[email protected]/rest/overview/resources-in-the-rest-api#http-verbs)."

PUT/orgs/{org}/public_members/{username}
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
org string
required
username string
required

Responses

Response

application/json Basic Error object

Forbidden

documentation_url string
optional
message string
optional
status string
optional
url string
optional