UpdateProfile
UpdateProfile modifies the current user's profile information, including metadata and binary media.
/api.v1.user.UserService/UpdateProfile Bearer requiredRequest
UpdateProfileRequest
UpdateProfileRequestapi.v1.user.UpdateProfileRequest14 fields
UpdateProfileRequest defines the fields that can be modified on a user's profile.
aboutMeoptionalstringNew biography text.
discordUsernameoptionalstringUpdated Discord handle.
malUsernameoptionalstringDeprecated. Manual provider usernames are ignored; users manage verified account visibility through ExternalTrackingService.
anilistUsernameoptionalstringDeprecated. Manual provider usernames are ignored; users manage verified account visibility through ExternalTrackingService.
topAnimeIdsoptionalstringA JSON-encoded string array containing IDs of top-rated animes.
profileVisibilityoptionalstringUpdated profile privacy setting.
listVisibilityoptionalstringUpdated list privacy setting.
statsVisibilityoptionalstringUpdated statistics privacy setting.
preferredLanguageoptionalstringUpdated language preference.
accentColoroptionalstringUpdated hex color code for profile accent.
deleteAvatarboolIf true, the current avatar image will be removed.
deleteBannerboolIf true, the current banner image will be removed.
avatarBufferoptionalbytesRaw bytes of the new avatar image file.
bannerBufferoptionalbytesRaw bytes of the new banner image file.
{
"aboutMe": "string",
"discordUsername": "fireanime_user",
"malUsername": "fireanime_user",
"anilistUsername": "fireanime_user",
"topAnimeIds": "string",
"profileVisibility": "string",
"listVisibility": "string",
"statsVisibility": "string",
"preferredLanguage": "de",
"accentColor": "string"
}Response
UpdateProfileResponse
UpdateProfileResponseapi.v1.user.UpdateProfileResponse1 fields
UpdateProfileResponse confirms the result of a profile update.
messagestringA descriptive message indicating the result of the operation.
{
"message": "success"
}Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.