provider apps DELETE /applications/{client_id}/token
@utdk/github /applications/{client_id}/token
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.
client_id path required
The client ID of the GitHub app.
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

apps.deleteToken
DELETE/applications/{client_id}/token
OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization.

Parameters

required

The client ID of the GitHub app.

Input

required

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

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.apps.deleteToken()