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

Request

  • Base URL: http://HOSTNAME/api/v3
  • URL: http://HOSTNAME/api/v3/applications/{client_id}/token
  • Auth: none declared

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

Changes

No recorded changes to this operation across all 50 revisions of this API.