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 stringrequired
- username stringrequired
Responses
Response
application/json Basic Error object
Forbidden
documentation_url string
optionalmessage string
optionalstatus string
optionalurl string
optional