Update an existing account by its unique account ID. Update the account’s display name and add new wallets to the account. When updating an account:Documentation Index
Fetch the complete documentation index at: https://docs.privy.io/llms.txt
Use this file to discover all available pages before exploring further.
- Update the display name for the account.
- Add new wallets to the account, either by providing a
wallets_configurationto create new wallets, or a list ofwallet_idsto add existing wallets. Wallets cannot be removed from an account.
View the full API reference for updating an account.
Usage
- REST API
To update an account via REST API, make a Provide exactly one of the following (Using
Use ResponseUsing
Use Response
PATCH request to:Path parameters
The unique ID of the account to update.
Body
An optional display name for the account.
wallets_configuration or wallets_ids) to add wallets to the account:New wallets to create and add to the account, each specified with a chain type and optional custody configuration. Maximum of five wallets total per account.Mutually exclusive with
wallet_ids.Each item in the array has the following fields:IDs of existing wallets to add to the account. Must contain between one and five wallet IDs.Mutually exclusive with
wallets_configuration.Response
The unique ID of the account.
The updated display name for the account, or
null if not set.All wallets in the account, including any newly added wallets. Each wallet contains:
id(string): The wallet IDchain_type('ethereum' | 'solana'): The chain type of the walletaddress(string): The on-chain address of the walletcustody(object | undefined): The custody configuration, if the wallet is custodial
Examples
Using wallets_configuration
Use wallets_configuration to create and add new wallets to the account.RequestUsing wallet_ids
Use wallet_ids to add existing wallets to the account.Request
