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

# Update User

`PATCH /users/ext/{ext-id}`

Update User

## Path parameters

- `ext-id` string, required

## Request body

- UpdateUser
  - `first_name` string
  - `last_name` string
  - `email` string
  - `active` boolean
  - `timezone` string, nullable
  - `language` string, nullable
  - `admin` integer — If set to 9, the user is an admin. Only admins can edit this value. An admin also only can change other admin values.
  - `color` string, nullable
  - `settings` object — Will be used for all backend and frontend relevant tasks and settings
  - `last_used` array[] — Will be used for all backend and frontend relevant functions
    - string[]
  - `favorites` array[] — Will be used for all backend and frontend relevant functions
    - string[]

## Response `200`

User updated successfully

- object
  - `data` User
    - `id` string — The unique identifier for the user.
    - `first_name` string — The first name of the user.
    - `last_name` string — The last name of the user.
    - `full_name` string — The full name of the user.
    - `email` string — The email address of the user.
    - `company_id` string — The company id of the user.
    - `email_verified_at` string, date-time — The email verified at.
    - `active` boolean — The active flag of the user.
    - `timezone` string — The timezone of the user.
    - `language` string — The language of the user.
    - `last_used` object — The last used of the user.
      - `clients` string[] — The 10 last used clients of the user.
      - `projects` string[] — The 10 last used projects of the user.
      - `services` string[] — The 10 last used services of the user.
    - `settings` object, nullable — The settings of the user.
  - `success` boolean

## Other responses

- `401` — Error: Unauthorized
- `403` — Forbidden access or subscription and trial phase ended.
- `404` — Resource or page not found.
- `422` — Validation failed

---

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