GET
/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}Get enterprise team membership
Returns whether the user is a member of the enterprise team.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
enterprisestringrequired
The slug version of the enterprise name.
enterprise-teamstringrequired
The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.
usernamestringrequired
The handle for the GitHub user account.
200User is a member of the enterprise team.
namestringoptional
emailstringoptional
loginstringrequired
idintegerrequired
node_idstringrequired
avatar_urlstringrequired
gravatar_idstringrequired
urlstringrequired
html_urlstringrequired
followers_urlstringrequired
following_urlstringrequired
gists_urlstringrequired
starred_urlstringrequired
subscriptions_urlstringrequired
organizations_urlstringrequired
repos_urlstringrequired
events_urlstringrequired
received_events_urlstringrequired
typestringrequired
site_adminbooleanrequired
starred_atstringoptional
user_view_typestringoptional