---
title: "Update the current user."
method: PUT
path: "/v1/auth/user"
tags: ["Auth"]
---

# Update the current user.

`PUT /v1/auth/user`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/auth/user`
- Auth: HTTP bearer

Updates the authenticated end user's profile and returns the new record.

## Response `200`

Updated user

- User: An end-user account.
  - `id` string, uuid, required
  - `email` string, email, required
  - `phone` string, nullable
  - `email_confirmed_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `last_sign_in_at` string, date-time, nullable
  - `user_metadata` object, required
  - `app_metadata` object, required

## Other responses

- `401`: Missing or invalid API key
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
