orgs

Check if a user is blocked by an organization

Returns a 204 if the given user is blocked by the given organization. Returns a 404 if the organization is not blocking the user, or if the user account has been identified as spam by GitHub.

get/orgs/{org}/blocks/{username}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/blocks/{username}
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

usernamestring required

The handle for the GitHub user account.

Response

If the user is blocked

Changes

No recorded changes to this operation across all 83 revisions of this API.