---
title: "Delete a personal access token"
method: DELETE
path: "/admin/tokens/{token_id}"
tags: ["enterprise-admin"]
---

# Delete a personal access token

`DELETE /admin/tokens/{token_id}`

Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.

## Path parameters

- `token_id` integer, required

## Response `204`

Response

---

[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/versions/15db3fa0759b/schema)
