Delete an app token

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

DELETE /applications/:client_id/token

Parameters

Name Type Description
access_token string The OAuth access token used to authenticate to the GitHub API.

Example

{
  "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
}

Response

Status: 204 No Content