users
Block a user
Blocks the given user and returns a 204. If the authenticated user cannot block the given user a 422 is returned.
put/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
Response
Changes
No recorded changes to this operation across all 83 revisions of this API.