---
title: "Update one or more fields on a user account."
method: POST
path: "/v2/console/account/{id}"
tags: ["Console"]
---

# Update one or more fields on a user account.

`POST /v2/console/account/{id}`

## Request

- Base URL: `http://127.0.0.1:7351`
- URL: `http://127.0.0.1:7351/v2/console/account/{id}`
- Auth: API key in header `Authorization`

## Path parameters

- `id` string, required

## Request body

- UpdateAccountBody: Update user account information.
  - `username` string: Username.
  - `display_name` string: Display name.
  - `metadata` string: Metadata.
  - `avatar_url` string: Avatar URL.
  - `lang_tag` string: Langtag.
  - `location` string: Location.
  - `timezone` string: Timezone.
  - `custom_id` string: Custom ID.
  - `email` string: Email.
  - `password` string: Password.
  - `device_ids` object: Device ID modifications.
  - `wallet` string: Wallet.

## Response `200`

A successful response.

- object

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2.md) - [All operations](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2/revisions/fbde2e3c5ead?raw)
