name | example | route | scope | type |
---|---|---|---|---|
Ping an organization webhook |
octokit.rest.orgs.pingWebhook({ org, hook_id }) |
POST /orgs/{org}/hooks/{hook_id}/pings |
orgs |
API method |
This will trigger a ping event to be sent to the hook.
octokit.rest.orgs.pingWebhook({
org,
hook_id,
});
name | required | description |
---|---|---|
org | yes |
The organization name. The name is not case sensitive. |
hook_id | yes |
The unique identifier of the hook. You can find this value in the |
See also: GitHub Developer Guide documentation.