---
title: "Update Current User Profile"
method: PATCH
path: "/api/v1/auth/me"
tags: ["auth"]
---

# Update Current User Profile

`PATCH /api/v1/auth/me`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/auth/me`
- Auth: none declared

Update the current user's profile.

Allows updating:
- display_name
- language (fr/en)
- email_notifications_enabled
- push_notifications_enabled

## Headers

- `authorization` string, nullable
- `x-dev-user-id` string, nullable
- `x-app-version` string, nullable

## Request body

- UserUpdate: Schema for updating user profile.
  - `display_name` string, nullable
  - `language` string, nullable
  - `email_notifications_enabled` boolean, nullable
  - `push_notifications_enabled` boolean, nullable
  - `alerts_paused` boolean, nullable

## Response `200`

Successful Response

- UserResponse: Schema for user response.
  - `email` string, email, required
  - `display_name` string, nullable
  - `language` string
  - `id` string, required
  - `phone_number` string, nullable
  - `photo_url` string, nullable
  - `email_notifications_enabled` boolean, required
  - `push_notifications_enabled` boolean, required
  - `alerts_paused` boolean, required
  - `is_active` boolean, required
  - `total_notifications` integer
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
