---
title: "Update User Details"
method: PUT
path: "/v1/user/{user_id}/"
tags: ["Users"]
---

# Update User Details

`PUT /v1/user/{user_id}/`

Update a user profile

The company specific user information, the user's role, and the password are not updated via this endpoint.

## Path parameters

- `user_id` integer, required

## Request body

- UserPutModel — User model for updating a user, excluding company_user, role and password
  - `firstName` string, nullable, required — The given name of a user.
  - `lastName` string, nullable, required — The family name of a user.
  - `email` string, required — The email of address of the user, the email should be unique.
  - `phone` string, nullable, required — The default phone number of the user.
  - `phoneCell` string, nullable, required — The mobile phone number of the user.
  - `phoneWork` string, nullable, required — The work, or office phone number of the user.
  - `address` string, nullable, required — The address lines of the user.
  - `city` string, nullable, required — The city or municipality of the user.
  - `postalCode` string, nullable, required — The postal code, or zip code of the user.
  - `country` string, nullable, required — The country of the user.
  - `timezone` string, nullable, required — The timezone of the user.
  - `birthDate` string, date-time, nullable, required — The user's date of birth.
  - `industryId` integer, nullable, required — The industry identifier associated with this user.z
  - `tradeId` integer, nullable, required — The primary trade associated with this user.
  - `emergencyContact` string, nullable, required — The name of the emergency contact.
  - `emergencyContactPhone` string, nullable, required — The phone number of the emergency contact

## Response `200`

Successful Response

- ApiGenericResponseUserDetailModel
  - `error` boolean — A boolean error indicator.
  - `message` string, nullable — Optional message.
  - `data` UserDetailModel — Full user model with all the details
    - `id` integer, required — The user identifier
    - `firstName` string, nullable, required — The given name of a user.
    - `lastName` string, nullable, required — The family name of a user.
    - `email` string, required — The email of address of the user, the email should be unique.
    - `updatedAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `phone` string, nullable, required — The default phone number of the user.
    - `phoneCell` string, nullable, required — The mobile phone number of the user.
    - `phoneWork` string, nullable, required — The work, or office phone number of the user.
    - `address` string, nullable, required — The address lines of the user.
    - `city` string, nullable, required — The city or municipality of the user.
    - `postalCode` string, nullable, required — The postal code, or zip code of the user.
    - `country` string, nullable, required — The country of the user.
    - `timezone` string, nullable — The timezone of the user.
    - `birthDate` string, date-time, nullable — The user's date of birth.
    - `industryId` integer, nullable — The industry identifier associated with this user.z
    - `tradeId` integer, nullable — The primary trade associated with this user.
    - `emergencyContact` string, nullable — The name of the emergency contact.
    - `emergencyContactPhone` string, nullable — The phone number of the emergency contact

## Other responses

- `400` — Business Logic Error
- `403` — Permission Error
- `409` — Integrity Error or Data Conflict
- `422` — Validation Error

---

[API](https://skmtc.dev/salussafety/apis/salus-developer-api.md) · [All operations](https://skmtc.dev/salussafety/apis/salus-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salussafety/salus-developer-api/revisions/ef065f44da25/schema)
