---
title: "Delete an app token"
method: DELETE
path: "/applications/{client_id}/token"
tags: ["apps"]
---

# Delete an app token

`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. You must use [Basic Authentication](https://docs.github.com/enterprise-server@3.7/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password.

## Path parameters

- `client_id` string, required

## Request body

- object
  - `access_token` string, required — The OAuth access token used to authenticate to the GitHub API.

## Response `204`

Response

## Other responses

- `422` — Validation failed, or the endpoint has been spammed.

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-6.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-6/revisions/15db3fa0759b/schema)
