---
title: "Revoke a personal access token"
method: DELETE
path: "/api/connections/pat/{id}"
tags: ["Connections"]
---

# Revoke a personal access token

`DELETE /api/connections/pat/{id}`

## Request

- Base URL: `https://api.engram.page`
- URL: `https://api.engram.page/api/connections/pat/{id}`
- Auth: HTTP bearer

Revokes the personal access token (API key) with the given UUID so it can no longer authenticate. Returns 404 for an unknown or malformed id. Session-auth only.

## Path parameters

- `id` string, required

## Response `204`

Revoked (empty body)

## Other responses

- `404`: No such PAT

---

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