---
title: "Delete a specific personal access token"
method: DELETE
path: "/publishers/{publisherId}/tokens/{tokenId}"
tags: ["Registry"]
---

# Delete a specific personal access token

`DELETE /publishers/{publisherId}/tokens/{tokenId}`

## Request

- Base URL: `https://api.comfy.org`
- URL: `https://api.comfy.org/publishers/{publisherId}/tokens/{tokenId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/ac/apis/comfy-api/docs/publishers/:publisherId/tokens/:tokenId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `publisherId` string, required
- `tokenId` string, required

## Response `204`

Token deleted successfully

## Other responses

- `403`: Forbidden
- `404`: Token not found
- `500`: Internal server error

---

[API](https://skmtc.dev/ac/apis/comfy-api.md) - [All operations](https://skmtc.dev/ac/apis/comfy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ac/apis/comfy-api/revisions/c1893dffe250?raw)
