Search + K

Command Palette

Search for a command to run...

Sign In

Check public organization membership for a user

GET /orgs/{org}/public_members/{username}
Copy endpoint
https://api.github.com

Check if the provided user is a public member of the organization.

Parameters

path Path Parameters

Name Type
org required

The organization name. The name is not case sensitive.

string
username required

The handle for the GitHub user account.

string

Responses

204

Response if user is a public member

unknown

Client Errors

404

Not Found if user is not a public member

unknown