ReferenceAPIWebhook Service
Disable webhook
Its pending deliveries fail, and events until it's enabled again aren't delivered to it.
POST
Its pending deliveries fail, and events until it's enabled again aren't delivered to it.
workspace*stringThe workspace id.
webhook*stringThe webhook id.
application/json- body
name?stringOK
application/json- response
webhook?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" }}