cURL
curl --request PATCH \ --url https://api.privy.io/v1/accounts/{account_id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --header 'privy-app-id: <privy-app-id>' \ --data ' { "display_name": "Updated Account Name", "wallets_configuration": [ { "chain_type": "ethereum" }, { "chain_type": "solana" } ] } '
{ "id": "<string>", "display_name": "<string>", "wallets": [ { "id": "<string>", "chain_type": "ethereum", "address": "<string>" } ] }
Update an account by account ID. Supports updating the display name and adding new wallets.
Basic Auth header with your app ID as the username and your app secret as the password.
ID of your Privy app.
ID of the account.
1
Input for updating a digital asset account.
An optional display name for the account.
Configuration for the wallets on this account.
5
Show child attributes
The updated account.
A digital asset account that groups wallets under a single entity.
The account ID.
The wallets belonging to this account.
Was this page helpful?