Updates a webhook
PATCH /webhook/{name}
Partially updates an existing webhook by name. Only fields included in the request body are modified; omitted fields (including the top-level url and any nested per-event URLs) keep their stored value. Passing null for a per-event URL clears it; the parent group is dropped when it has no per-event URLs left. Returns 400 when the path name fails the slug pattern, the body fails validation, or any URL uses a non-https scheme, fails to resolve, or resolves to a private/loopback address. Returns 404 when the organization has no source configured or no webhook with that name exists. The signing secret is preserved and is not returned in the response. Only owner and admin roles can update a webhook.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body
Section titled “Request Body ”Responses
Section titled “ Responses ”Webhook updated
object
object
object
object
Invalid webhook name, body, or URL
object
Example
invalid nameUnauthorized
object
Example
unauthorizedUser doesn’t belong to the organization
Webhook not found
object
Example
not found