users
Check if a user is blocked by the authenticated user
Returns a 204 if the given user is blocked by the authenticated user. Returns a 404 if the given user is not blocked by the authenticated user, or if the given user account has been identified as spam by GitHub.
get/user/blocks/{username}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/user/blocks/{username}
- Auth: none declared
Path parameters
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.