provider orgs GET /orgs/{org}/members/{username}
@utdk/github /orgs/{org}/members/{username}
Check organization membership for a user
Check if a user is, publicly or privately, a member of the organization.
org path required
The organization name. The name is not case sensitive.
string
username path required
The handle for the GitHub user account.
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
orgs.checkMembershipForUser
GET/orgs/{org}/members/{username}
Check if a user is, publicly or privately, a member of the organization.

Parameters

required

The organization name. The name is not case sensitive.

required

The handle for the GitHub user account.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.orgs.checkMembershipForUser()