(un)Archive a wallet
patch
https://api-wallet.venly.io
/api/wallets/:walletId
(un)Archive a wallet
Archived wallets will no longer be returned in any of our endpoints and you will no longer be able to use it in any way.
You are able to unarchive a wallet at any time. You do however need the `walletID` to perform this operation. Make sure to store it somewhere to be able to unarchive the wallet in a later stage!
PATCH https://api-wallet.venly.io/api/wallets/9e8af613-e8da-4fa6-8bcc-7e589d2c7d74
{
"archived": true
}
{
"success": true,
"result": {
"id": "9e8af613-e8da-4fa6-8bcc-7e589d2c7d74",
"address": "0xf51Be4152f8E3ad3557E44Db1F803bA3e4c5DeB5",
"walletType": "THREEWAY_SHARED",
"secretType": "ETHEREUM",
"createdAt": "2022-04-05T08:29:44.026438",
"archived": true,
"description": "Likable Hedgehog",
"primary": false,
"hasCustomPin": false
}
}
PATCH https://api-wallet.venly.io/api/wallets/9e8af613-e8da-4fa6-8bcc-7e589d2c7d74
{
"archived": false
}
{
"success": true,
"result": {
"id": "9e8af613-e8da-4fa6-8bcc-7e589d2c7d74",
"address": "0xf51Be4152f8E3ad3557E44Db1F803bA3e4c5DeB5",
"walletType": "THREEWAY_SHARED",
"secretType": "ETHEREUM",
"createdAt": "2022-04-05T08:29:44.026438",
"archived": false,
"description": "Likable Hedgehog",
"primary": false,
"hasCustomPin": false
}
}
Last modified 4mo ago