---
title: "Update current user profile"
method: PATCH
path: "/acc-api/user-info"
tags: ["User"]
---

# Update current user profile

`PATCH /acc-api/user-info`

Updates the current authenticated user's profile information

## Request body

- UserProfileUpdate — Update current user's profile information
  - `username` string
  - `password` string, password
  - `firstName` string
  - `lastName` string
  - `email` string, email

## Response `200`

User profile updated successfully

- User
  - `id` integer, required
  - `username` string, required
  - `role` 'admin' | 'editor' | 'viewer' | 'superadmin', required — User's role name
  - `profile` object, nullable
    - `firstName` string
    - `lastName` string
    - `email` string, email
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Invalid request parameters
- `401` — Unauthorized
- `409` — Username already exists
- `500` — Internal server error

## Changes

- **2026-07-17** `c863d4c0adcd` — 1 warning
  - added the new `superadmin` enum value to the `role` response property for the response status `200`
- **2025-06-18** `4e8707cf3e99` — 4 info
  - added the new optional request property `email`
  - added the new optional request property `firstName`
  - added the new optional request property `lastName`
  - added the optional property `profile` to the response with the `200` status
- **2025-06-13** `1609c18b1e7f` — 4 warning, 1 info
  - removed the request property `email`
  - removed the request property `firstName`
  - removed the request property `lastName`
  - removed the optional property `profile` from the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/nimtable/apis/nimtable-account-api/changes/acc-api/user-info/patch.md)

---

[API](https://skmtc.dev/nimtable/apis/nimtable-account-api.md) · [All operations](https://skmtc.dev/nimtable/apis/nimtable-account-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nimtable/nimtable-account-api/revisions/c863d4c0adcd/schema)
