---
title: "Update the current authenticated user"
method: PATCH
path: "/auth/me"
tags: ["Auth"]
---

# Update the current authenticated user

`PATCH /auth/me`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/auth/me`
- Auth: `bearer` (a scheme the document does not define)

## Request body

- UpdateMeDto
  - `name` string, required: User full name

## Response `200`

Updated user data

- APIUser
  - `id` string, required
  - `name` string, required
  - `email` string, required
  - `emailVerified` boolean, required
  - `role` 'user' | 'admin', required: Platform role. `admin` unlocks staff-only surfaces such as the /stats dashboard.
  - `createdAt` string, date-time, required
  - `signupRef` string, nullable, required: First-touch acquisition channel captured at signup (e.g. "cli", "mcp", "extension"). Null = organic/unattributed.

## Other responses

- `401`: Not authenticated

---

[API](https://skmtc.dev/nippy/apis/nippy-backend-api.md) · [All operations](https://skmtc.dev/nippy/apis/nippy-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nippy/apis/nippy-backend-api/revisions/7ab23f040a55?raw)
