Delete an app token
OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://docs.github.com/[email protected]/rest/overview/other-authentication-methods#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- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- client_id stringrequired
The client ID of your GitHub app.
Body Params
requiredapplication/jsonobject
access_token string
requiredThe OAuth access token used to authenticate to the GitHub API.
Responses
Response
application/json Validation Error object
Validation failed
documentation_url string
required errors array[object]optional
errors array[object]
optional items object
items object
code string
requiredfield string
optionalindex integer
optionalmessage string
optionalresource string
optionalvalue
optionalmessage string
required