---
title: "Revoke Api Token"
method: DELETE
path: "/v1/accounts/{account_id}/api-tokens/{token_id}"
---

# Revoke Api Token

`DELETE /v1/accounts/{account_id}/api-tokens/{token_id}`

## Request

- Base URL: `https://api.portveil.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.portveil.com/v1/accounts/{account_id}/api-tokens/{token_id}`
- Auth: none declared

Revoke an agent token immediately. The token dies at once, even mid-use.

## Path parameters

- `account_id` string, required
- `token_id` string, required

## Headers

- `authorization` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/portveil/apis/portveil-control-plane.md) · [All operations](https://skmtc.dev/portveil/apis/portveil-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/portveil/apis/portveil-control-plane/revisions/48ad5689e525?raw)
