Set device language/locale
Sets the device language/locale to the BCP-47 locale in the request body. An optional restart flag applies the change immediately by restarting the Android system framework (open apps are closed) instead of waiting for the next reboot; some devices ignore it.
de-DE rather than de — since some devices reject language-only locales. Script subtags may be dropped: zh-Hans-CN is applied as zh-CN.
If the device cannot apply the requested locale, the call fails with a verification error instead of silently keeping the old language.Authorizations
Bearer token via Authorization header
Headers
x >= 0Path Parameters
Body
BCP-47 locale: a 2–3 letter language tag, optionally followed by a 4-letter script and/or a 2-letter region (e.g. en-US, de-DE, ja-JP, zh-Hans-CN).
^[a-z]{2,3}(-[A-Z][a-z]{3})?(-[A-Z]{2})?$Restart the Android system framework so the locale change takes full effect immediately; open apps are closed. Without it, the change may not fully apply until the next reboot. Some devices ignore this flag.
Response
No Content