---
title: "Update User"
method: PUT
path: "/user/update/{id}"
tags: ["provider", "user"]
---

# Update User

`PUT /user/update/{id}`

## Path parameters

- `id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Request body

- UserUpdate
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `externalId` string, nullable
  - `email` string, nullable
  - `phoneNumber` string, nullable
  - `address` string, nullable
  - `addressLineTwo` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `zipCode` string, nullable
  - `country` string, nullable
  - `addressValid` boolean, nullable
  - `meta` object, nullable
  - `primaryLocationId` string, nullable

## Response `200`

Successful Response

- UserSummary
  - `id` string, required — The unique identifier for the user.
  - `firstName` string, nullable — The user's first name.
  - `lastName` string, nullable — The user's last name.
  - `phoneNumber` string, nullable — The user's phone number.
  - `email` string, nullable — The user's email address.
  - `type` 'PROVIDER' | 'PATIENT' | 'ASSISTANT', required
  - `locationId` string, nullable — The location of the user.
  - `externalId` string, nullable — The user's external identifier if available.
  - `address` string, nullable — The user's primary address.
  - `addressLineTwo` string, nullable — Additional address information.
  - `city` string, nullable — The city of the user's address.
  - `state` string, nullable — The state of the user's address.
  - `zipCode` string, nullable — The postal code of the user's address.
  - `country` string, nullable — The country of the user's address.
  - `createdDate` string, date-time, required — The date and time when the user was created.
  - `addressValid` boolean, nullable — Whether the user's address is valid.
  - `meta` object, nullable — Any additional metadata about the user relevant to your system.
  - `isArchived` boolean, nullable — Whether the user is archived.
  - `primaryLocationId` string, nullable — The primary location of the user.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) · [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decodahealth/decoda-api/revisions/4939a65a89d2/schema)
