Search + K

Command Palette

Search for a command to run...

Sign In

Check organization membership for a user

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

Check if a user is, publicly or privately, a 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 requester is an organization member and user is a member

unknown

Redirects

302

Response if requester is not an organization member

unknown

Client Errors

404

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

unknown