Admin

Update the target user's data

patch/v1/admin/users/{userID}

Request

  • Base URL
    https://api.momentum-mod.org (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

userIDnumber required

ID of the user to update

Request body

aliasstring

The new alias to set

biostring

The new bio to set

countrystring

The country code to set (requires ISO Alpha-2 code)

resetAvatarboolean

Whether we need to get a new user avatar from Steam

rolesnumber

The new roles to set

bansnumber

The new bans to set

Response

The user was updated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.