apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /orgs/{org}/hooks/{hook_id}/config — GitHub API

GitHub playground

Update a webhook configuration for an organization

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

4 body fields
  • url · optional · string — The URL to which the payloads will be delivered.
  • content_type · optional · string — The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
  • secret · optional · string — If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).
  • insecure_ssl · optional · string — Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**