Update a webhook configuration for an organization
Updates the webhook configuration for an organization. To update more information about the webhook, including the active
state and events
, use “Update an organization webhook .”
Access tokens must have the admin:org_hook
scope, and GitHub Apps must have the organization_hooks:write
permission.
Path Parameters
Body
application/json
Body
The URL to which the payloads will be delivered.
Example:https://example.com/webhook
The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
Example:"json"
If provided, the secret
will be used as the key
to generate the HMAC hex digest value for delivery signature headers.
Example:"********"
One Of
Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
Example:"0"
Response
200 application/json
Response
Response
Webhook Configuration
Configuration object of the webhook
The URL to which the payloads will be delivered.
Example:https://example.com/webhook
The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
Example:"json"
If provided, the secret
will be used as the key
to generate the HMAC hex digest value for delivery signature headers.
Example:"********"
One Of
Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
Example:"0"
Path Parameters
Body
Ping an organization webhook
This will trigger a ping event to be sent to the hook.
Path Parameters
Response
Response
Response
Path Parameters
List app installations for an organization
Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with admin:read
scope to use this endpoint.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Installation
Show Child Parameters
Path Parameters
Query Parameters
List organization members
List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.
Query Parameters
Filter members returned in the list. Can be one of:
* 2fa_disabled
- Members without two-factor authentication enabled. Available for organization owners.
* all
- All members the authenticated user can see.
Allowed values:2fa_disabledall
Default:all
Filter members returned by their role. Can be one of:
* all
- All members of the organization, regardless of role.
* admin
- Organization owners.
* member
- Non-owner organization members.
Allowed values:alladminmember
Default:all
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
application/json
Response
Response
Simple User
Example:octocat
Example:1
Example:MDQ6VXNlcjE=
Example:https://github.com/images/error/octocat_happy.gif
Example:41d064eb2195891e12d0413f63227ea7
Example:https://api.github.com/users/octocat
Example:https://github.com/octocat
Example:https://api.github.com/users/octocat/followers
Example:https://api.github.com/users/octocat/following{/other_user}
Example:https://api.github.com/users/octocat/gists{/gist_id}
Example:https://api.github.com/users/octocat/starred{/owner}{/repo}
Example:https://api.github.com/users/octocat/subscriptions
Example:https://api.github.com/users/octocat/orgs
Example:https://api.github.com/users/octocat/repos
Example:https://api.github.com/users/octocat/events{/privacy}
Example:https://api.github.com/users/octocat/received_events
Example:User
Example:"2020-07-09T00:17:55Z"
Path Parameters
Query Parameters
Check organization membership for a user
Check if a user is, publicly or privately, a member of the organization.
Path Parameters
Response
Response
Response if requester is an organization member and user is a member