Skip to main content

Check organization membership for a user

Check if a user is, publicly or privately, a member of the organization.

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

Request

Path Parameters
org string
required
username string
required

Responses

Response if requester is an organization member and user is a member

Response if requester is not an organization member

Headers
Location string

Example: https://api.github.com/orgs/github/public_members/pezra

Not Found if requester is an organization member and user is not a member