REST API›Wallet & Transact›Webhook

DEL

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

Path Params

  • coin string required
    A cryptocurrency or token ticker symbol

Body Params

object

Remove V2 Block Webhook Request Body

The request body for removing the block webhooks of a user that have a type and URL, optionally narrowed to a single webhook.

  • type string enum required

    The type of the webhooks to remove.

    Either block or wallet_confirmation.

    blockwallet_confirmation
  • url string required

    The URL of the webhooks to remove.

    Must be the URL the webhook was created with.

  • id string

    The ID of a single webhook to remove.

    When set, only the webhook with this ID that also matches type and url is removed.

  • coin string

    The coin of the webhooks to remove.

    Defaults to the coin of the request path.

Responses

200
OK

Response Body

object

The number of webhooks that a remove request deleted.
  • removed number required
    Number of webhooks removed.
400
Bad Request

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
401
Unauthorized

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id