Github API - Test Config

PATCH /orgs/{org}/hooks/{hook_id}
orgs

Updates a webhook configured in an organization. When you update a webhook, the secret will be overwritten. If you previously had a secret set, you must provide the same secret or set a new secret or the secret will be removed. If you are only updating individual webhook config properties, use "Update a webhook configuration for an organization."
Update an organization webhook

Arguments
key org

org [scalar]

The organization name. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key hook-id

hook-id [scalar]

The unique identifier of the hook.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json org-hook

org-hook [object]

Org Hook

Attributes
active boolean

config 2041

created_at string

deliveries_url string

events string []

id integer

name string

ping_url string

type string

updated_at string

url string

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)