> ## 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 `PATCH /v2/wallets/{id}` to update wallet metadata. The endpoint currently supports changing the wallet `label`.

Send `null` or an empty string to clear the label.

```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 the updated wallet snapshot.
