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.
Body
application/json
Body
The new name of the user.
Example:Omar Jahandar
The publicly visible email address of the user.
Example:omar@example.com
The new blog URL of the user.
Example:blog.example.com
The new Twitter username of the user.
Example:therealomarj
The new company of the user.
Example:Acme corporation
The new location of the user.
Example:Berlin, Germany
The new hiring availability of the user.
The new short biography of the user.
Response
application/json
Response
Response
Private User
Private User
Example:octocat
Example:1
Example:MDQ6VXNlcjE=
Example:https://github.com/images/error/octocat_happy.gif
Example:41d064eb2195891e12d0413f63227ea7
Example:https://api.github.com/users/octocat
Example:https://github.com/octocat
Example:https://api.github.com/users/octocat/followers
Example:https://api.github.com/users/octocat/following{/other_user}
Example:https://api.github.com/users/octocat/gists{/gist_id}
Example:https://api.github.com/users/octocat/starred{/owner}{/repo}
Example:https://api.github.com/users/octocat/subscriptions
Example:https://api.github.com/users/octocat/orgs
Example:https://api.github.com/users/octocat/repos
Example:https://api.github.com/users/octocat/events{/privacy}
Example:https://api.github.com/users/octocat/received_events
Example:User
Example:monalisa octocat
Example:GitHub
Example:https://github.com/blog
Example:San Francisco
Example:octocat@github.com
Example:There once was...
Example:2
Example:1
Example:20
Example:0
Example:2008-01-14T04:33:35Z
Example:2008-01-14T04:33:35Z
Example:81
Example:100
Example:100
Example:10000
Example:8
Example:true
Show Child Parameters
Body
List email addresses for the authenticated user
Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the user:email scope.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
application/json
Response
Response
Example:octocat@github.com
Example:true
Example:true
Example:public
Query Parameters
Add an email address for the authenticated user
This endpoint is accessible with the user scope.
Body
application/json
Body
One OfAdds one or more email addresses to your GitHub account. Must contain at least one email address. Note: Alternatively, you can pass a single email address or an array of emails addresses directly, but we recommend that you pass an object using the emails key.
>= 1 items
Example:username@example.com
Response
application/json
Response
Response
Example:octocat@github.com
Example:true
Example:true
Example:public
Body
Delete an email address for the authenticated user
This endpoint is accessible with the user scope.
Body
application/json
Body
One OfEmail addresses associated with the GitHub user account.
>= 1 items
Example:username@example.com
Response
Response
Response
Body
List followers of the authenticated user
Lists the people following the authenticated user.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
application/json
Response
Response
Simple User
Example:octocat
Example:1
Example:MDQ6VXNlcjE=
Example:https://github.com/images/error/octocat_happy.gif
Example:41d064eb2195891e12d0413f63227ea7
Example:https://api.github.com/users/octocat
Example:https://github.com/octocat
Example:https://api.github.com/users/octocat/followers
Example:https://api.github.com/users/octocat/following{/other_user}
Example:https://api.github.com/users/octocat/gists{/gist_id}
Example:https://api.github.com/users/octocat/starred{/owner}{/repo}
Example:https://api.github.com/users/octocat/subscriptions
Example:https://api.github.com/users/octocat/orgs
Example:https://api.github.com/users/octocat/repos
Example:https://api.github.com/users/octocat/events{/privacy}
Example:https://api.github.com/users/octocat/received_events
Example:User
Example:"2020-07-09T00:17:55Z"