PUT
/v2/user-preferences/set-language/{languageTag}Set the user's interface language
Sets the authenticated user's interface language. Supply languageTag to choose the language for the user's interface. The response confirms that the preference was updated.
languageTagstringrequired
The language tag to set as the user's interface language.
200Returns confirmation that the user's interface language preference was updated.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to change the language preference.
codestringrequired
paramsarray<object>optional
404Returned when the requested resource is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. The languageTag path parameter must identify the language to set. A 401 is returned when the request has no valid authentication, a 403 when the authenticated user is not permitted to change the preference, and a 404 when the requested resource is not found.