GET
/orgs/{org}/blocksList users blocked by an organization
Lists the users blocked by an organization. Use org to identify the organization and page and per_page to paginate the results.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
orgstringrequired
The organization name whose blocked users you want to list; the name is not case sensitive.
per_pageintegeroptional
The number of results to return per page, up to 100. Defaults to 30 when omitted.
pageintegeroptional
The page number of results to retrieve. Defaults to 1 when omitted.
200Returns an array of blocked user objects, including each user's login, identifier, profile URLs, and other user details.
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
Error handling
org must identify the organization whose blocked users you want to list. per_page must not exceed 100; per_page defaults to 30 and page defaults to 1 when omitted.