---
title: "Delete every other active profile token"
method: POST
path: "/api/owner-token/revoke-others"
tags: ["Owner Token"]
---

# Delete every other active profile token

`POST /api/owner-token/revoke-others`

## Request

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

## Headers

- `X-Owner-Token` unknown, required

## Request body

- RevokeOthersRequest
  - `keep` string[], nullable: Token ids to keep; the header token is always kept

## Response `200`

Number of tokens deleted

- RevokeOthersResponse
  - `revoked` integer, required

## Other responses

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

## Changes

- **2026-11-21** `19a6c5561e70`: 2 info
  - added the optional property `level` to the response with the `403` status
  - added the optional property `level` to the response with the `429` status
- **2026-11-11** `957711dab4b5`: 4 info
  - added the optional property `challengeUrl` to the response with the `403` 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
  - added the optional property `siteKey` to the response with the `429` status
- **2026-11-10** `e34e8877bb89`: 4 info
  - added the optional property `reason` to the response with the `403` 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
  - added the optional property `used` to the response with the `429` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/brewpage/apis/brewpage-api/changes/api/owner-token/revoke-others/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)
