---
title: "Revoke Legacy Access Token"
method: DELETE
path: "/api/user/access_tokens/legacy"
tags: ["User"]
---

# Revoke Legacy Access Token

`DELETE /api/user/access_tokens/legacy`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/user/access_tokens/legacy`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Response `200`

OK

- ApiResponse
  - `data` unknown
  - `message` string, required
  - `object` string
  - `success` boolean, required

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
