Skip to main content

updatePreferredLanguage

Stores the signed-in viewer preferred language and returns the refreshed me profile. Use updateUserName to change the display name separately. Requires authentication.

updatePreferredLanguage(
language: String!
): MeDetails

Arguments​

updatePreferredLanguage.language ● String! non-null scalar​

Language code from the languages query, such as en; any nonblank string is stored without checking that list.

Type​

MeDetails object​

Viewer profile and active account data returned by me and profile mutations; nested fields expose subscriptions and accessible accounts.