latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Wallet Policy
Delete wallet-policy rule
Deletes a rule from the policy attached to a wallet.
Note: This endpoint uses DELETE with a JSON request body (id, type, action, and optional coin, condition, lockDate) to identify the rule to remove. That matches the legacy v2 API and OpenAPI spec. RFC 9110 permits DELETE bodies, but some HTTP clients and proxies do not reliably forward them — typed-router handlers and SDK clients must serialize and send the body.
delete/api/v2/{coin}/wallet/{walletId}/policy/rule
Path parameters
coinstring required
A cryptocurrency symbol or token ticker symbol
Example:btc
Coin or token identifier (e.g. eth, talgo, txlm:token)
walletIdstring required
Example:59cd72485007a239fb00282ed480da1f
The wallet ID
Request body
Example request
{
"coin": "btc"
}Response
OK
Example response
{
"approvalsRequired": 1,
"coin": "btc",
"id": "59cd72485007a239fb00282ed480da1f",
"label": "My Wallet",
"admin": {
"policy": {
"id": "59cd72485007a239fb00282ed480da1f",
"rules": [
{
"coin": "btc",
"condition": {
"amountString": "2000000"
}
}
],
"walletId": "59cd72485007a239fb00282ed480da1f"
}
},
"buildDefaults": {
"minFeeRate": 12000
},
"custodialWalletId": "59cd72485007a239fb00282ed480da1f",
"enterprise": "59cd72485007a239fb00282ed480da1f",
"evmKeyRingReferenceWalletId": "59cd72485007a239fb00282ed480da1f",
"isParent": true,
"enabledChildChains": [
"tbsc",
"tpolygon"
],
"archivedChildChains": [
"tbsc",
"tpolygon"
],
"keys": [
"585951a5df8380e0e304a553",
"585951a5df8380e0e30d645c",
"585951a5df8380e0e30b6147"
],
"m": 2,
"n": 3,
"receiveAddress": {
"coin": "btc",
"id": "59cd72485007a239fb00282ed480da1f",
"address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS",
"balance": {
"balanceString": "500000",
"confirmedBalanceString": "400000",
"spendableBalanceString": "40000",
"balance": 50000
},
"label": "Bob's Hot Wallet Address"
},
"safe": "59cd72485007a239fb00282ed480da1f"
}