ReferenceAPIWebhook Service
Enable webhook
Delivers events from now on, to a webhook disabled by a call or by failing.
POST
Delivers events from now on, to a webhook disabled by a call or by failing.
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:enable' \ -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" }}