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

# Update User

`PATCH /frontend/v1/users/{id}`

## Path parameters

- `id` string, required

## Request body

- User
  - `id` string
  - `email` string
  - `createTime` string, date-time
  - `updateTime` string, date-time
  - `owner` boolean
  - `googleUserId` string
  - `microsoftUserId` string
  - `githubUserId` string
  - `hasAuthenticatorApp` boolean
  - `displayName` string
  - `profilePictureUrl` string

## Response `200`

OK

- UpdateUserResponse
  - `user` User
    - `id` string
    - `email` string
    - `createTime` string, date-time
    - `updateTime` string, date-time
    - `owner` boolean
    - `googleUserId` string
    - `microsoftUserId` string
    - `githubUserId` string
    - `hasAuthenticatorApp` boolean
    - `displayName` string
    - `profilePictureUrl` string

## Other responses

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

## Changes

- **2025-05-20** `8ae1e6c69121` — 2 info
  - added the new optional request property `githubUserId`
  - added the optional property `user/githubUserId` to the response with the `200` status
- **2025-05-06** `a505aa37b0bc` — 4 info
  - added the new optional request property `displayName`
  - added the new optional request property `profilePictureUrl`
  - added the optional property `user/displayName` to the response with the `200` status
  - added the optional property `user/profilePictureUrl` to the response with the `200` status
- **2025-03-11** `f665049c4339` — 1 info
  - endpoint added
- **2025-03-04** `9bf35cefefcb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tesseral-labs/apis/frontendservice-api/changes/frontend/v1/users/:id/patch.md)

---

[API](https://skmtc.dev/tesseral-labs/apis/frontendservice-api.md) · [All operations](https://skmtc.dev/tesseral-labs/apis/frontendservice-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tesseral-labs/frontendservice-api/revisions/e98ae37067b1/schema)
