Update the authenticated user
**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.
/user- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Body Params
optionalThe new short biography of the user.
The new blog URL of the user.
Example: blog.example.com
The new company of the user.
Example: Acme corporation
The new hiring availability of the user.
The new location of the user.
Example: Berlin, Germany
The new name of the user.
Example: Omar Jahandar
The new Twitter username of the user.
Example: therealomarj
Responses
Response
Example: https://github.com/images/error/octocat_happy.gif
Example: There once was...
Example: https://github.com/blog
Example: 8
Example: GitHub
Example: 2008-01-14T04:33:35Z
Example: 10000
Example: [email protected]
Example: https://api.github.com/users/octocat/events{/privacy}
Example: 20
Example: https://api.github.com/users/octocat/followers
Example: 0
Example: https://api.github.com/users/octocat/following{/other_user}
Example: https://api.github.com/users/octocat/gists{/gist_id}
Example: 41d064eb2195891e12d0413f63227ea7
Example: https://github.com/octocat
Example: 1
Example: San Francisco
Example: octocat
Example: monalisa octocat
Example: MDQ6VXNlcjE=
Example: https://api.github.com/users/octocat/orgs
Example: 100
plan objectoptional
Example: 81
Example: 1
Example: 2
Example: https://api.github.com/users/octocat/received_events
Example: https://api.github.com/users/octocat/repos
Example: https://api.github.com/users/octocat/starred{/owner}{/repo}
Example: https://api.github.com/users/octocat/subscriptions
Example: 100
Example: true
Example: User
Example: 2008-01-14T04:33:35Z
Example: https://api.github.com/users/octocat
Not modified
Requires authentication
Forbidden
Resource not found
Validation failed