Delete a grant
Deprecation 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.
Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on the application authorizations settings screen within GitHub.
Request
- Base URL: http://HOSTNAME/api/v3
- URL: http://HOSTNAME/api/v3/applications/grants/{grant_id}
- Auth: none declared
Path parameters
The unique identifier of the grant.
Response
Response
Changes
No recorded changes to this operation across all 50 revisions of this API.