v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-03-2585861610.1 MB
apps

Delete an app token

OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use Basic Authentication when accessing this endpoint, using the application's client_id and client_secret as the username and password.

delete/applications/{client_id}/token

Path parameters

client_idstring required

The client ID of the GitHub app.

Request body

access_tokenstring required

The OAuth access token used to authenticate to the GitHub API.

Response

Response