/repos/{owner}/{repo}/hooks/{hook_id}/configUpdate a repository webhook configuration
Updates the delivery settings for a webhook configured in a repository. Supply the configuration fields you want to change; use the repository webhook update endpoint to change its active state or subscribed events. OAuth app tokens and personal access tokens (classic) need the write:repo_hook or repo scope.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Webhook delivery configuration fields to update. You can supply any of the listed fields.
When supplied, url must be a valid URI, and content_type must be json or form—it defaults to form when omitted. The insecure_ssl value must be 0 or 1 and defaults to 0; the owner path parameter and repo path parameter must identify the repository, and the hook_id path parameter must identify its webhook. OAuth app tokens and personal access tokens (classic) need the write:repo_hook or repo scope.