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

# Update virtual wallet

> Update a virtual wallet's alias.

Updates the alias of an existing virtual wallet. Requires an API key with access level 2 or higher.

## Path parameters

<ParamField path="walletId" type="string" required>
  Unique identifier of the virtual wallet.
</ParamField>

## Body

<ParamField body="alias" type="string" required>
  New alias for the virtual wallet.
</ParamField>

## Response

<ResponseField name="id" type="string">
  Unique virtual wallet identifier.
</ResponseField>

<ResponseField name="alias" type="string">
  Updated wallet alias.
</ResponseField>

<ResponseField name="client_id" type="string">
  Associated client identifier.
</ResponseField>

<ResponseField name="wallet_address" type="string">
  On-chain wallet address.
</ResponseField>

<ResponseField name="blockchain" type="string">
  Blockchain network.
</ResponseField>

<ResponseField name="enabled" type="boolean">
  Whether the wallet is enabled.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PUT "https://api.cryptomate.me/virtual-wallets/vw_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d" \
    -H "x-api-key: $CRYPTOMATE_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "alias": "Renamed Trading Wallet"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "id": "vw_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
    "alias": "Renamed Trading Wallet",
    "client_id": "client_xyz789",
    "wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "blockchain": "POLYGON",
    "enabled": true
  }
  ```
</ResponseExample>
