---
title: "Update current user profile"
method: PATCH
path: "/users/me"
tags: ["Pro Users"]
---

# Update current user profile

`PATCH /users/me`

## Request

- Base URL: `https://api.example.com/v1`
- URL: `https://api.example.com/v1/users/me`
- Auth: none declared

Update the current user's profile information.

## Request body

- ProUserUpdate
  - `first_name` string
  - `last_name` string
  - `phone` string
  - `organization` string

## Response `200`

User profile updated.

- object
  - `data` ProUser
    - `id` string
    - `email` string, email
    - `first_name` string
    - `last_name` string
    - `plan` 'pro' | 'enterprise'
    - `cases_limit` integer, nullable: Maximum number of cases allowed. Null for unlimited (enterprise).
    - `cases_count` integer: Current number of active cases.
    - `phone` string, nullable
    - `organization` string, nullable
    - `role` 'owner' | 'admin' | 'member': Role within their organization.
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `422`: Request validation failed.

---

[API](https://skmtc.dev/hellosunset/apis/sunset-api.md) - [All operations](https://skmtc.dev/hellosunset/apis/sunset-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hellosunset/apis/sunset-api/revisions/f128e5526efe?raw)
