Deleting a wallet

api/v1

Your wallet will be deleted from the local Hycon node. You may use this endpoint to delete a non-HD or HD wallet. If you have the same mnemonic and passphrase (optional), you will be able to recover the wallet using /api/v1/recoverWallet or /api/v1/generateWallet.

Path Parameter

Parameter

Type

Required

Description

name

string

Yes

The name of the wallet

Response - 200 OK, text/plain

true if wallet is deleted successfully; else falseGET/api/v1/deleteWallet/{name}

Example request

$ curl -X GET http://localhost:2442/api/v1/deleteWallet/test \
    -H 'Content-Type: application/json;charset=utf-8'

Response (Success)

true

Response (Error)

false

Last updated