---
title: "Revoke Access Token"
method: DELETE
path: "/auth/token"
tags: ["Auth"]
---

# Revoke Access Token

`DELETE /auth/token`

## Request

- Base URL: `https://am1.portal.api.nasuni.com`
- URL: `https://am1.portal.api.nasuni.com/auth/token`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nasuni/apis/portal-api/docs/auth/token/delete.ts> (a function with typed inputs; its response is checked against the schema)

Revoke the current access token and its entire token family.

This invalidates the current access token and all associated refresh tokens,
requiring the user to re-authenticate. Use this for logout functionality.

Requires: Valid access token in Authorization header (Bearer <token>)

## Response `200`

Operation completed successfully

- unknown

## Other responses

- `401`: Not authenticated

---

[API](https://skmtc.dev/nasuni/apis/portal-api.md) - [All operations](https://skmtc.dev/nasuni/apis/portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nasuni/apis/portal-api/revisions/2a505bec6d14?raw)
