Users

Set my language

Changed on

Saves the current user's language (locale), one of the app's locales, so emails sent outside their own requests (notifications) are written in it. The web app calls it when they switch language. While an admin impersonates the user, it changes nothing, since the choice is the admin's

put/api/v1/users/me/locale

Request

  • Base URL
    https://app.easyscraper.com
  • URL
    https://app.easyscraper.com/api/v1/users/me/locale
  • Auth
    API key in cookie better-auth.session_token

Request body

locale'en' required

Response

OK

Changes