---
title: "Update account"
method: PATCH
path: "/v1/accounts/{account_id}"
tags: ["Accounts"]
---

# Update account

`PATCH /v1/accounts/{account_id}`

Update an account by account ID. Supports updating the display name and adding new wallets.

## Path parameters

- `account_id` string, required — ID of the account.

## Headers

- `privy-app-id` string, required — ID of your Privy app.

## Request body

- union — Input for updating a digital asset account.
  - object — Input for updating a digital asset account with a `wallets_configuration` specification.
    - `display_name` string — An optional display name for the account.
    - `wallets_configuration` AccountWalletConfigurationItem[] — Configuration for the wallets on this account.
      - `chain_type` 'ethereum' | 'solana', required — The wallet chain types that offer first class support.
      - `custody` WalletCustodian — Information about the custodian managing this wallet.
        - `provider` string, required — The custodian responsible for the wallet.
        - `provider_user_id` string, required — The resource ID of the beneficiary of the custodial wallet.
  - object — Input for updating a digital asset account by adding existing wallets with a `wallet_ids` parameter.
    - `display_name` string — An optional display name for the account.
    - `wallet_ids` string[], required — IDs for wallets to include in this account.

## Response `200`

The updated account.

- AccountResponse — A digital asset account that groups wallets under a single entity.
  - `display_name` string, nullable, required — An optional display name for the account.
  - `id` string, required — The account ID.
  - `wallets` AccountWallet[], required — The wallets belonging to this account.
    - `address` string, required — The on-chain address of the wallet.
    - `chain_type` 'ethereum' | 'solana', required — The wallet chain types that offer first class support.
    - `custody` WalletCustodian — Information about the custodian managing this wallet.
      - `provider` string, required — The custodian responsible for the wallet.
      - `provider_user_id` string, required — The resource ID of the beneficiary of the custodial wallet.
    - `id` string, required — The wallet ID.

---

[API](https://skmtc.net/privy-io/apis/privy-api.md) · [All operations](https://skmtc.net/privy-io/apis/privy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/privy-io/privy-api/revisions/bb2eb34156cc/schema)
