apicheats.dev Cheat sheet Raw .md
PATCH

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

GitHub playground

Update an organization webhook

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
  • config · optional · object — Key/value pairs to provide settings for this webhook.
  • events · optional · string[] — Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.
  • active · optional · boolean — Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
  • name · optional · string — Request body field name.