latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Wallet
Remove user from wallet
After a user has accepted a wallet share, they become a party on a wallet and the wallet share is considered “complete”. In order to revoke the share after they have accepted, you can remove the user from the wallet.
This operation requires approval by another wallet administrator if there is more than a single administrator on a wallet.
delete/api/v2/{coin}/wallet/{walletId}/user/{userId}
Path parameters
coinstring required
A cryptocurrency or token ticker symbol.
Example:btc
walletIdstring required
Example:59cd72485007a239fb00282ed480da1f
The wallet ID.
userIdstring required
Example:59cd72485007a239fb00282ed480da1f
Response
OK
Example response
{
"admin": {
"policy": {
"id": "59cd72485007a239fb00282ed480da1f",
"rules": [
{
"coin": "btc",
"condition": {
"amountString": "2000000"
},
"action": {
"userIds": [
"59cd72485007a239fb00282ed480da1f"
]
}
}
]
}
},
"approvalsRequired": 1,
"balanceString": "2000000",
"buildDefaults": {
"minFeeRate": 12000,
"maxFeeRate": 18000,
"feeMultiplier": 1.2,
"changeAddressType": "p2wsh",
"txFormat": "psbt",
"autoReserveUnspentsOnBuildMins": 60
},
"coin": "btc",
"coinSpecific": {
"creationFailure": [
"b8a828b98dbf32d9fd1875cbace9640ceb8c82626716b4a64203fdc79bb46d26"
]
},
"custodialWalletId": "59cd72485007a239fb00282ed480da1f",
"enterprise": "59cd72485007a239fb00282ed480da1f",
"id": "59cd72485007a239fb00282ed480da1f",
"keys": [
"585951a5df8380e0e304a553",
"585951a5df8380e0e30d645c",
"585951a5df8380e0e30b6147"
],
"label": "My Wallet",
"m": 2,
"n": 3,
"nodeId": "59cd72485007a239fb00282ed480da1f",
"receiveAddress": {
"id": "59cd72485007a239fb00282ed480da1f",
"address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS",
"chain": 1,
"wallet": "59cd72485007a239fb00282ed480da1f",
"coinSpecific": {
"xlm": {
"memoId": "1",
"rootAddress": "GCTTCPH4IIDK7P72FFAEJ3ZFN6WDHJH6GGMRPHPM56ZWGIQ7B3XTIJAM"
},
"txlm": {
"memoId": "1",
"rootAddress": "GCTTCPH4IIDK7P72FFAEJ3ZFN6WDHJH6GGMRPHPM56ZWGIQ7B3XTIJAM"
}
},
"balance": {
"balance": 50000,
"balanceString": "50000",
"confirmedBalanceString": "40000",
"spendableBalanceString": "40000"
},
"label": "Bob's Hot Wallet Address",
"addressType": "p2sh"
},
"tags": [
"59cd72485007a239fb00282ed480da1f"
],
"spendableBalanceString": "2000000",
"unspentCount": 100,
"users": [
{
"user": "55e8a1a5df8380e0e30e20c6",
"permissions": [
"admin",
"view",
"spend"
]
}
]
}