Skip to main content
PATCH
Edit an existing user

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Path Parameters

username
string
required

Username

Body

application/json
email
string<email>
required
source_id
integer
login_name
string
full_name
string
password
string
website
string
location
string
active
boolean
admin
boolean
allow_git_hook
boolean
allow_import_local
boolean
max_repo_creation
integer

Maximum number of repositories the user can create. -1 means no limit.

Response

Success

id
integer
username
string
login
string

Alias of username for GitHub API compatibility

full_name
string
email
string<email>
avatar_url
string