authorization_id parameter
Get a single authorization
DEPRECATEDDeprecation Notice: GitHub Enterprise Server will discontinue the OAuth Authorizations API, which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our web application flow. The OAuth Authorizations API will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the blog post.
Path Parameters
Response
application/json
Response
Response
Authorization
The authorization for an OAuth app, GitHub App, or a Personal Access Token.
A list of scopes that this authorization is in.
Show Child Parameters
Simple User
Show Child Parameters
Show Child Parameters
Path Parameters
Update an existing authorization
DEPRECATEDDeprecation Notice: GitHub Enterprise Server will discontinue the OAuth Authorizations API, which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our web application flow. The OAuth Authorizations API will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the blog post.
If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see “Working with two-factor authentication.”
You can only send one of these scope keys at a time.
Path Parameters
authorization_id parameter
Body
application/json
Body
A list of scopes that this authorization is in.
Example:["public_repo","user"]
A list of scopes to add to this authorization.
A list of scopes to remove from this authorization.
A note to remind you what the OAuth token is for.
Example:Update all gems
A URL to remind you what app the OAuth token is for.
A unique string to distinguish an authorization from others created for the same client ID and user.
Response
application/json
Response
Response
Authorization
The authorization for an OAuth app, GitHub App, or a Personal Access Token.
A list of scopes that this authorization is in.
Show Child Parameters
Simple User
Show Child Parameters
Show Child Parameters
Path Parameters
Body
Delete an authorization
DEPRECATEDDeprecation Notice: GitHub Enterprise Server will discontinue the OAuth Authorizations API, which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our web application flow. The OAuth Authorizations API will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the blog post.
Path Parameters
authorization_id parameter
Response
Response
Response
Path Parameters
orgs
Interact with GitHub Orgs.
List organizations
Lists all organizations, in the order that they were created on GitHub Enterprise Server.
Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.
Query Parameters
An organization ID. Only return organizations with an ID greater than this ID.
Results per page (max 100)
Default:30
Response
application/json
Response
Response
Organization Simple
Example:github
Example:1
Example:MDEyOk9yZ2FuaXphdGlvbjE=
Example:https://api.github.com/orgs/github
Example:https://api.github.com/orgs/github/repos
Example:https://api.github.com/orgs/github/events
Example:https://api.github.com/orgs/github/hooks
Example:https://api.github.com/orgs/github/issues
Example:https://api.github.com/orgs/github/members{/member}
Example:https://api.github.com/orgs/github/public_members{/member}
Example:https://github.com/images/error/octocat_happy.gif
Example:A great organization