> ## Documentation Index
> Fetch the complete documentation index at: https://docs.groundtech.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a Wallet

> Rename a portfolio wallet.

Use [Update a wallet](/api-reference/update-wallet) (`PATCH /v2/wallets/{id}`) to change a wallet's label. Send `null` or an empty string to clear it.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl -X PATCH "$GROUND_API_BASE_URL/v2/wallets/$WALLET_ID" \
  -H "Authorization: Bearer $GROUND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"label":"Operating Treasury"}'
```

The response is HTTP 200 with the full updated wallet snapshot. Deposit addresses, balances, and allocations remain unchanged.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.