---
title: "Revoke Grant Cohort"
method: POST
path: "/api/v1/admin/users/{user_id}/revoke-grant-cohort"
tags: ["admin"]
---

# Revoke Grant Cohort

`POST /api/v1/admin/users/{user_id}/revoke-grant-cohort`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/admin/users/{user_id}/revoke-grant-cohort`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

Withdraw the time-boxed grant from every account on this signup address.

Exists because doing it one dialog at a time is how one gets missed — of the
six July 2026 bot accounts revoked by hand, five took and the sixth was
overlooked, which is the failure mode a bulk action removes.

Reports every account it touched *and* every one it skipped with a reason.
A bulk action that silently declines part of its work is worse than no bulk
action: the operator believes the cohort is handled when it is not.

## Path parameters

- `user_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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