- 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
string
required
The unique ID of the account to update.
Body
string
An optional display name for the account.
wallets_configuration or wallets_ids) to add wallets to the account:object[]
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:string[]
required
IDs of existing wallets to add to the account. Must contain between one and five wallet IDs.Mutually exclusive with
wallets_configuration.Response
string
The unique ID of the account.
string | null
The updated display name for the account, or
null if not set.object[]
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
