---
title: "Delete an authentication token"
method: DELETE
path: "/v3/user/tokens/{tokenId}"
tags: ["authentication"]
---

# Delete an authentication token

`DELETE /v3/user/tokens/{tokenId}`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v3/user/tokens/{tokenId}`
- Auth: HTTP bearer

Invalidate an authentication token, such that it will no longer be valid for future HTTP requests.

## Path parameters

- `tokenId` string, required: The identifier of the token to invalidate. The special value "current" may be supplied, which invalidates the token that the HTTP request was authenticated with.

## Query parameters

- `reason` 'logout': Identifies an explicit logout for the deletion event. Only applies when tokenId is current.
- `logoutSource` 'v0' | 'vercel': The product the caller is logging out of. Only applies when reason is logout and tokenId is current.

## Response `200`

Authentication token successfully deleted.

- object: Authentication token successfully deleted.
  - `tokenId` string, required: The unique identifier of the token that was deleted.

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`
- `403`: You do not have permission to access this resource.
- `404`: Token not found with the requested `tokenId`.
- `410`

## Changes

- **2026-10-22** `6c0e780b096e`: 1 info
  - added the non-success response with the status `401`
- **2026-10-10** `32399b3ed273`: 2 info
  - added the new optional `query` request parameter `logoutSource`
  - added the new optional `query` request parameter `reason`
- **2026-10-08** `b426de1e3932`: 1 info
  - removed the non-success response with the status `401`
- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2025-03-19** `37b482c58c92`: 1 info
  - added the non-success response with the status `401`

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v3/user/tokens/:tokenId/delete.md)

---

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