---
title: "Patch User"
method: PATCH
path: "/v1/auth/user"
tags: ["authentication"]
---

# Patch User

`PATCH /v1/auth/user`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/auth/user`
- Auth: HTTP bearer

Partial update a user.
Args:
    user (User): User object.
    session (db, optional): Database session. Defaults to Depends(db).

## Request body

- UpdateUserPayload: Create User Payload.
  - `email` string, nullable
  - `phone_number` string, nullable
  - `name` string, nullable
  - `picture` string, nullable
  - `instagram_account_id` string, nullable
  - `country` string, nullable
  - `creator_types` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
