v2

latestOpenAPI 3.0.0AGPLv32026-07-26125148364.7 KB
User Information

Edit User

Edit currently authenticated user.

patch/users/{target}

Path parameters

targetstring required

Request body

display_namestring nullable

New display name

pronounsstring nullable

New pronouns

avatarstring nullable

Attachment Id for avatar

badgesinteger nullable

Bitfield of user badges

flagsinteger nullable

Enum of user flags

Response

_idstring required

Unique Id

usernamestring required

Username

discriminatorstring required

Discriminator

display_namestring nullable

Display name

pronounsstring nullable

User's pronouns

privilegedboolean

Whether this user is privileged

onlineboolean required

Whether this user is currently online