v1

latestOpenAPI 3.0.0Apache 2.02026-07-263079321.1 MB
User

Locale user

Locale a user

  • Locale a user using their unique identifier.
  • Localize um usuário usando seu identificador exclusivo.
put/users/{id}/locale

Path parameters

idinteger required

User ID

Request body

languagestring
timezonestring

Example request

{
  "language": "portuguese/english",
  "timezone": "UTC-3"
}

Response

OK

blocked_atstring
company_idinteger
created_atstring
emailstring
idinteger
languagestring
namestring
phonestring
rolestring
tax_numberstring
timezonestring
updated_atstring

Example response

{
  "blocked_at": "null",
  "company_id": 1,
  "created_at": "2024-09-06T17:37:43.464658136Z",
  "email": "john.doe@example.com",
  "id": 1,
  "language": "portuguese",
  "name": "John Doe",
  "phone": "(11)99999-9999",
  "role": "MASTER",
  "tax_number": "123.456.789-01",
  "timezone": "UTC-3",
  "updated_at": "2024-09-06T17:37:43.464658136Z"
}