On this page

Delete Wallet

API-v2delete_wallet

Securely deletes a wallet. The wallet must not be the currently active wallet. This action is irreversible.

ParameterTypeRequiredDescription
wallet_namestringThe name of the wallet to delete.
passwordstringThe password of the wallet.

The response for a successful request is null.

Delete Wallet

POST
delete_wallet
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "delete_wallet",
  "mmrpc": "2.0",
  "params": {
    "wallet_name": "wallet-to-delete",
    "password": "pass1"
  }
}

ParameterTypeDescription
InvalidRequeststringThe request is malformed or missing required parameters.
WalletNotFoundstringThe specified wallet_name was not found.
InvalidPasswordstringThe provided password is incorrect.
CannotDeleteActiveWalletstringAn attempt was made to delete the currently active wallet.
WalletsStorageErrorstringA storage-related error occurred while accessing wallet data.
InternalErrorstringAn internal server error occurred.