---
title: "Update user profile"
method: PUT
path: "/auth/user"
tags: ["Authentication"]
---

# Update user profile

`PUT /auth/user`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/auth/user`
- Auth: HTTP bearer

Update password or metadata. Requires access token.

## Request body

- object
  - `password` string: Password validated after NFC normalization against the policy returned by GET /auth/password-policy.
  - `user_metadata` object: Metadata keys to merge into the current user metadata. Omitted keys remain unchanged; set a key to null to remove it. Merging is shallow; nested objects replace the stored value for that top-level key.

## Response `200`

Profile updated

- object
  - `user` AuthUser
    - `id` string, uuid, required
    - `project_id` string, uuid
    - `email` string, email, required
    - `email_confirmed` boolean
    - `user_metadata` object: User-editable metadata
    - `app_metadata` object: Application-controlled metadata (read-only for users)
    - `avatar_url` string, uri: User avatar URL (from OAuth provider or manually set)
    - `status` 'active' | 'banned' | 'deleted', required
    - `banned_until` string, date-time, nullable: When temporary ban expires (null if not banned or permanent)
    - `last_sign_in_at` string, date-time
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400`: Bad request - invalid password or metadata format
- `401`: Not authenticated - access token missing or invalid
- `503`: Compromised-password screening is temporarily unavailable

## Changes

- **2026-09-19** `3a6f365f3f35`: 4 breaking, 18 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `503`
  - the `user` response's property type changed from no type to `object` for status `200`
  - …18 more
- **2026-08-27** `bb44e98aba2e`: 8 breaking, 11 warning, 2 info
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - the `user` response's property type changed from `object` to no type for status `200`
  - removed the required property `error` from the response with the `400` status
  - …17 more
- **2026-07-27** `bb52784e098a`: 2 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/auth/user/put.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
