---
title: "Update Me"
method: PATCH
path: "/api/users/me"
tags: ["users"]
---

# Update Me

`PATCH /api/users/me`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/users/me`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Update current user's profile.

## Request body

- UpdateUserRequest
  - `name` string, required

## Response `200`

Successful Response

- UserResponse
  - `id` string, required
  - `email` string, required
  - `name` string, required
  - `role` string, required
  - `organization` OrganizationResponse, required
    - `id` string, required
    - `name` string, required
    - `slug` string, required
    - `plan` string, required
  - `created_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gateco/apis/gateco-api.md) · [All operations](https://skmtc.dev/gateco/apis/gateco-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gateco/apis/gateco-api/revisions/5debaf204950?raw)
