Change language via Users API

Hello!

I want to change the language settings via /users/{userId}
I tried {
“language”: “DE”
}
and “German” and “Deutsch” and “DE-DE”.

I did not found any documentation on the language key values.
Could you give me a hint, please?

Second question:
How can I change the date format?

Thanks in advance,
Britta

Hey @britta!

To change a users settings via the API, use the PATCH /users/{userId} endpoint.

Here are the list of language tags:

Try de-DE.

Here are the list of timezones:

Let me know if that works!

Thanks,
Tommy

Thanks!
How can I change the date format settings?

1 Like

Hey @britta, happy to help!

When you say date format settings, do you mean the timezone?

If so, pass in one of the time zone IDs from this list as the timezone value for PATCH /users/{userId}

Thanks,
Tommy

Dear @tommy,
I mean the Date Format beneath Time Zone
Unbenannt

Hey @britta, thanks for the clarification.

As of now it is not possible to update the Time Format via the API.

Thanks,
Tommy