Skip to Content
OpenETL
ReferenceAPIWebhook Service

Disable webhook

Its pending deliveries fail, and events until it's enabled again aren't delivered to it.

POST
/v1/workspaces/{workspace}/webhooks/{webhook}:disable

Its pending deliveries fail, and events until it's enabled again aren't delivered to it.

Path Parameters

workspace*string

The workspace id.

webhook*string

The webhook id.

Request Body

application/json
  1. body
name?string

Response Body

OK

application/json
  1. response
webhook?
Example Request
curl -X POST 'http://localhost:8080/v1/workspaces/string/webhooks/string:disable' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "webhook": {    "name": "string",    "spec": {      "url": "string",      "events": [        "string"      ],      "pipelines": [        "string"      ],      "secrets": [        "string"      ]    },    "version": "string",    "etag": "string",    "state": "WEBHOOK_STATE_UNSPECIFIED",    "disabledReason": "string",    "failingSince": "2019-08-24T14:15:22Z",    "createTime": "2019-08-24T14:15:22Z",    "updateTime": "2019-08-24T14:15:22Z"  }}