Update a global webhook
Parameters that are not provided will be overwritten with the default value or removed if no default exists.
Path Parameters
Headers
This API is under preview and subject to change.
Default:application/vnd.github.superpro-preview+json
Body
application/json
Body
Key/value pairs to provide settings for this webhook.
Show Child Parameters
The events that trigger this webhook. A global webhook can be triggered by user
and organization
events. Default: user
and organization
.
Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications.
Default:true
Response
200 application/json
Response
Response
global-hook-2
Show Child Parameters
Path Parameters
Headers
Body
Delete a global webhook
Path Parameters
Headers
This API is under preview and subject to change.
Default:application/vnd.github.superpro-preview+json
Response
204
Response
Response
Path Parameters
Headers
Ping a global webhook
This will trigger a ping event to be sent to the webhook.
Path Parameters
Headers
This API is under preview and subject to change.
Default:application/vnd.github.superpro-preview+json
Response
204
Response
Response
Path Parameters
Headers
List public keys
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
One of asc
(ascending) or desc
(descending).
Allowed values:ascdesc
Default:desc
Allowed values:createdupdatedaccessed
Default:created
Only show public keys accessed after the given time.
Response
200 application/json
Response
Response
Query Parameters
Delete a public key
Path Parameters
Response
204
Response
Response