Remove wallet webhook
Removing a webhook will cause new events of the specified type to no longer trigger HTTP callbacks to your URLs. Requires admin permission on the wallet.
Path Params
-
coinstring requiredA cryptocurrency or token ticker symbol -
walletIdstring requiredThe ID of the wallet
Body Params
object
Remove V2 Wallet Webhook Request Body
The request body for removing webhooks from a wallet: either the type and URL of the webhooks to remove, or a flag to remove all of them.
-
typestring enumThe type of the webhooks to remove.
Required unless
allis set.txRequesttxRequestTransactiontransfertransactiontransactionRemovedtransactionExpireunspentExpirypendingapprovaladdress_confirmationlowFeeblockadmincircuitBreakertransaction_finality_on_l1lowFeeAddressBalancestuckTxendInvestorOnboardingInviteendInvestorOnboardingAcceptedallocationRequestallocationAcceptedallocationSettlementFailed -
urlstringThe URL of the webhooks to remove.
Required unless
allis set. -
idstringThe ID of a single webhook to remove.
When set, only the webhook with this ID that also matches the other fields is removed.
-
allboolean or string or numberWhether to remove every webhook of the wallet, regardless of
typeandurl.Evaluated by the legacy boolean parser, so
true, the stringtrueand positive numbers remove all webhooks.
Responses
200
OK
Response Body
object
-
removednumber requiredNumber of webhooks removed.
400
Bad Request
Response Body
ONE OF
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
-
namestring enum requiredInvalidWalletId -
contextobject requiredcontext object
-
idstring required
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
401
Unauthorized
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
404
Not Found
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id