Stats
Ban a user and take down what they own
Admin-only (ADR 0048). In one transaction: marks the user banned, clears their sign-in link, revokes every API and MCP/OAuth token they created and, when asked, adds a block rule for their email domain. Their sessions and tokens stop working on the next request. Then, best-effort, across the accounts they own: suspends live and inactive sites, discards live previews and cancels the Stripe subscription immediately. The response counts each step and lists any that failed. Records user.banned.
post/stats/users/{id}/ban
Request
- Base URL: https://api.nippy.host
- URL: https://api.nippy.host/stats/users/{id}/ban
- Auth: bearer (a scheme the document does not define)
Path parameters
idstring required
User UUID
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.