User
Update user
Update a user by ID
- Update a user with the provided details. Only the fields you want to update need to be provided.
- Atualize um usuário com os detalhes fornecidos. Somente os campos que você deseja atualizar precisam ser fornecidos.
put/users/{id}
Path parameters
idinteger required
User ID
Request body
Example request
{
"email": "john.doe@example.com",
"name": "John Doe",
"phone": "(11)99999-9999",
"role": "MASTER",
"tax_number": "123.456.789-01"
}Response
OK
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"
}