Remove block webhook

delete/api/v2/{coin}/webhooks

Removing a webhook will cause new events of the specified type to no longer trigger HTTP callbacks to your URLs.

Path Parameters

  • coinstringRequired
    A cryptocurrency or token ticker symbol.
    Example: "btc"

Request Body

type string required
Allowed values: block wallet_confirmation
Example: block
url string <uri>required
Example: https://your.server.com/user_webhook
id string
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
javascript
1 2 3 4 5 6 7 8 9 10 11 var baseCoin = bitgo.coin('tbtc'); var webhooks = baseCoin.webhooks(); webhooks .remove({ url: 'http://your.server.com/user_webhook', type: 'block', }) .then(function (result) { console.dir(result); });

200 Response

removed integer
Number of block webhooks removed.
Example: 1