v1

latestOpenAPI 3.0.32026-07-1310423153.4 KB
Administration

Edit an existing user

Requires the authenticated user to be a site administrator.

patch/admin/users/{username}

Path parameters

usernamestring required

Username

Request body

source_idinteger
login_namestring
full_namestring
emailstring email required
passwordstring
websitestring
locationstring
activeboolean
adminboolean
allow_git_hookboolean
allow_import_localboolean
max_repo_creationinteger

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

Response

Success

idinteger
usernamestring
loginstring

Alias of username for GitHub API compatibility

full_namestring
emailstring email
avatar_urlstring