> ## 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.

# Delete virtual wallet

> Delete a virtual wallet.

Deletes an existing virtual wallet by its unique identifier. 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>

## Response

Returns an empty `200 OK` response on success.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.cryptomate.me/virtual-wallets/vw_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d" \
    -H "x-api-key: $CRYPTOMATE_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 412 Has Balance theme={null}
  {
    "code": "VAL",
    "message": "Wallet has balance, please transfer all tokens to another wallet before deleting it"
  }
  ```

  ```json 412 Gas Recovery theme={null}
  {
    "code": "VAL",
    "message": "Failed to recover gas, please call support"
  }
  ```
</ResponseExample>
