Webhooks

Update organization's webhook

Update organization's webhook

put/webhooks/org/{orgName}/{webhookID}

Request

Path parameters

orgNamestring required
Example:org1

Organization name

webhookIDstring uuid required

Webhook ID

Request body

namestring required
descriptionstring
urlstring uri required
secretstring
content_typestring
templatestring
activeboolean required
event_kindsEventKindId[] required

Example request

{
  "name": "webhook1",
  "description": "description",
  "url": "http://url",
  "secret": "123abc",
  "content_type": "application/json",
  "template": "{\"text\": \"Package {{ .Package.Name }} version {{ .Package.Version }} released! {{ .Package.URL }}\"}"
}

Response

The request has succeeded, no content returned

Changes

No recorded changes to this operation across all 1 revision of this API.