---
title: "Delete a profile token by id or token; it stops working everywhere, its publications stay"
method: POST
path: "/api/owner-token/revoke"
tags: ["Owner Token"]
---

# Delete a profile token by id or token; it stops working everywhere, its publications stay

`POST /api/owner-token/revoke`

## Request

- Base URL: `https://brewpage.app`
- URL: `https://brewpage.app/api/owner-token/revoke`
- Auth: API key in header `X-Owner-Token`

## Headers

- `X-Owner-Token` unknown, required

## Request body

- RevokeRequest
  - `id` string, nullable
  - `token` string, nullable

## Response `200`

Revoked (false = already revoked)

- RevokeResponse
  - `revoked` boolean, required

## Other responses

- `403`: Header token not admin, not in a profile, revoked or expired
- `404`: Not a token of this profile
- `429`: Rate limited: wait Retry-After (= retryAfterSeconds); no account: accountUrl, free sign-up with higher limits

## Changes

- **2026-11-21** `19a6c5561e70`: 3 info
  - added the optional property `level` to the response with the `403` status
  - added the optional property `level` to the response with the `404` status
  - added the optional property `level` to the response with the `429` status
- **2026-11-11** `957711dab4b5`: 6 info
  - added the optional property `challengeUrl` to the response with the `403` status
  - added the optional property `challengeUrl` to the response with the `404` status
  - added the optional property `challengeUrl` to the response with the `429` status
  - added the optional property `siteKey` to the response with the `403` status
  - …2 more
- **2026-11-10** `e34e8877bb89`: 6 info
  - added the optional property `reason` to the response with the `403` status
  - added the optional property `reason` to the response with the `404` status
  - added the optional property `reason` to the response with the `429` status
  - added the optional property `used` to the response with the `403` status
  - …2 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/brewpage/apis/brewpage-api/changes/api/owner-token/revoke/post.md)

---

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