---
title: "Update User"
method: PATCH
path: "/v1/users/{id}"
tags: ["BackendService"]
---

# Update User

`PATCH /v1/users/{id}`

Update a User.

## Path parameters

- `id` string, required

## Request body

- User — A User represents an individual working for one of your corporate customers.
  - `id` string — The User ID. Starts with `user_...`.
  - `organizationId` string — The Organization this User belongs to.
  - `email` string — The User's email address. This email is verified and unique within the Organization. Two Users in different Organizations may have the same email.
  - `createTime` string, date-time — When the User was created.
  - `updateTime` string, date-time — When the User was last updated.
  - `owner` boolean — Whether the User is an owner of their Organization.
  - `googleUserId` string — The Google User ID, if the User has ever logged in with Google.
  - `microsoftUserId` string — The Microsoft User ID, if the User has ever logged in with Microsoft.
  - `githubUserId` string — The Github User ID, if the User has ever logged in with GitHub.
  - `hasAuthenticatorApp` boolean — Whether the User has an authenticator app set up.
  - `displayName` string — The User's human-friendly name.
  - `profilePictureUrl` string — The URL of the User's profile picture.

## Response `200`

OK

- UpdateUserResponse
  - `user` User — A User represents an individual working for one of your corporate customers.
    - `id` string — The User ID. Starts with `user_...`.
    - `organizationId` string — The Organization this User belongs to.
    - `email` string — The User's email address. This email is verified and unique within the Organization. Two Users in different Organizations may have the same email.
    - `createTime` string, date-time — When the User was created.
    - `updateTime` string, date-time — When the User was last updated.
    - `owner` boolean — Whether the User is an owner of their Organization.
    - `googleUserId` string — The Google User ID, if the User has ever logged in with Google.
    - `microsoftUserId` string — The Microsoft User ID, if the User has ever logged in with Microsoft.
    - `githubUserId` string — The Github User ID, if the User has ever logged in with GitHub.
    - `hasAuthenticatorApp` boolean — Whether the User has an authenticator app set up.
    - `displayName` string — The User's human-friendly name.
    - `profilePictureUrl` string — The URL of the User's profile picture.

## Other responses

- `400` — API Error
- `401` — API Error
- `403` — API Error
- `404` — API Error

---

[API](https://skmtc.net/tesseral-labs/apis/backendservice-api.md) · [All operations](https://skmtc.net/tesseral-labs/apis/backendservice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tesseral-labs/backendservice-api/versions/fe83f78ae20a/schema)
