Skip to main content

Set user language preference

POST 

/company/users/lang

Allows the user to configure their preferred language.

Objective

To facilitate the customization of the interface and content language according to the user's preferences.

Use Cases

  • User changes the interface language
  • User selects their preferred language during registration
  • User updates language preferences

Authentication

  • Requires a valid JWT (middleware m.isLoged)

Persistence

  • The change is saved in the database
  • Affects all future API responses
  • Used to send emails in the correct language

Supported Languages

  • es (Spanish)
  • en (English)
  • fr (French)
  • de (German)

Request

Responses

Language updated successfully