---
title: "Update user (full)"
method: PUT
path: "/users/{key}"
tags: ["users"]
---

# Update user (full)

`PUT /users/{key}`

Update the specified user. If a field is not included in the query body, that field will be set to null or its default value.

## Path parameters

- `key` string, required

## Request body

- object — A person or API client who interacts with the Refocus system.
  - `email` string — The user's email address.
  - `imageUrl` string — Optional thumbnail image.
  - `name` string, required — First and last name.
  - `fullName` string — The user's full name.
  - `password` string
  - `profileId` string

## Response `200`

Success, returns updated user.

- UsersResponse — A person or API client who interacts with the Refocus system.
  - `email` string — The user's email address.
  - `id` string
  - `imageUrl` string — Optional thumbnail image.
  - `name` string — First and last name.
  - `fullName` string — The user's full name.
  - `password` string
  - `createdBy` string — TODO
  - `createdAt` string — TODO
  - `updatedAt` string — TODO
  - `apiLinks` HATEOAS[] — Hypertext As The Engine Of Application State.
    - `href` string, required — URL of the related HATEOAS link you can use for subsequent calls.
    - `rel` string, required — Link relation that describes how this link relates to the previous call.
    - `method` string, required — The HTTP method required for the related call.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Resource Not Found
- `default` — Error

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
