---
title: "update user"
method: PUT
path: "/api/v1/users/{id}"
tags: ["Account::User"]
---

# update user

`PUT /api/v1/users/{id}`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/users/{id}`
- Auth: HTTP bearer

## Request body

- object
  - `first_name` string
  - `last_name` string
  - `phone_number` object
    - `country_code` string, required
    - `number` string, required
  - `linkedin_url` string

## Response `200`

OK

- object
  - `data` AccountUser, required
    - `id` integer, required
    - `email` string, required
    - `role` 'client' | 'talent' | 'admin', required
    - `first_name` string, nullable, required
    - `last_name` string, nullable, required
    - `full_name` string, required
    - `deleted` boolean, required
  - `meta` object, nullable

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
