provider users PATCH /user
@utdk/github /user
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.

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

users.updateAuthenticated
PATCH/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.

Input

The new name of the user.

The publicly visible email address of the user.

The new blog URL of the user.

The new Twitter username of the user.

The new company of the user.

The new location of the user.

The new hiring availability of the user.

The new short biography of the user.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.users.updateAuthenticated()