/gmail/v1/users/{userId}/settings/language
PUT
/gmail/v1/users/{userId}/settings/language
users
displayLanguage
that was saved for the user, which may differ from the value passed into the request. This is because the requested displayLanguage
may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://gmail.googleapis.com//gmail/v1/users//settings/language' \
--header 'Content-Type: application/json' \
--data-raw '{
"displayLanguage": "string"
}'
Response Response Example
{
"displayLanguage": "string"
}
Request
Path Params
userId
stringÂ
required
Body Params application/json