---
title: "Revoke API token"
method: POST
path: "/internal/sessions/revoke-token"
tags: ["Internal"]
---

# Revoke API token

`POST /internal/sessions/revoke-token`

## Request

- Base URL: `https://api.percher.run`
- URL: `https://api.percher.run/internal/sessions/revoke-token`
- Auth: API key in header `X-Internal-Secret`

## Request body

- object
  - `tokenId` string, required

## Response `204`

Token revoked

---

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