Update webhook

Update an existing Webhook

PATCH https://<your_gateway_host>/api/webhook/:id

This endpoint allows you to update or enable/disable a webhook endpoint.

Path Parameters

Name
Type
Description

id

string

ID of webhook

Request Body

Name
Type
Description

url

string

description

string

enabled

boolean

{
  "message": "webhook updated",
  "data": {
    "url": "https://mydomain.ltd",
    "description": "",
    "enabled": false
  }
}

Sample Request

{
  "url": "https://mydomain.ltd",
  "description": "",
  "enabled": false
}

Last updated