Setting a tenant's default locale via Managment API

How do I specify the default language for a given tenant using the Auth0 management API? So in the https://manage.auth0.com/dashboard/eu/{TENANT}/tenant/general page I can select a language from a dropdown. But we manage our tenants via the Auth0 API (using the Auth0 Deploy CLI), and I can’t see where this would be specified in the API:

So putting the UI and the API docs together we can see that there’s an “enabled_locales” but I can’t see anything for default locale/language:

Is it possible to set this via the Management API at all, or can it only be set via the Web UI?

Hey @sean.mclemon,

When making the call to the API, the default locale is set to be the first locale in the array. For example:

"enabled_locales": [
    "en",
    "nl",
    "nb",
    "fr"
]

Will set “en” as the default locale.

"enabled_locales": [
    "fr",
    "nl",
    "nb",
    "en"
]

Will set “fr” as the default locale.

Hope this helps!