v24

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-19169310464.0 KB
Tools

Set device language/locale

post/devices/{deviceId}/language

Path parameters

deviceIdstring required

Headers

X-Device-Display-IDinteger

Request body

$schemastring uri

A URL to the JSON Schema for this object.

localestring required

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).

restartboolean

Restart zygote so the locale change takes full effect immediately. Without it, the locale is written but won't fully apply until the next reboot.

Example request

{
  "$schema": "https://example.com/schemas/SetLanguageArgs.json"
}

Response

No Content