Update a webhook

Modify webhook configuration.

PATCH
/webhooks/{webhookId}
AuthorizationBearer <token>

In: header

Path Parameters

webhookId*string

Unique identifier of the webhook

Request Body

application/json

Webhook update details.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://api-testnet.dual.network/webhooks/string" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}