Stats

Ban several users at once

Admin-only (ADR 0049). Applies the full single-user ban to each listed user in turn, with one reason. Users that cannot be banned (already banned, an admin, yourself, not found) are skipped and reported. Never adds email-domain rules.

post/stats/users/bulk-ban

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/stats/users/bulk-ban
  • Auth: bearer (a scheme the document does not define)

Request body

userIdsstring[] required

Users to ban. Duplicates are ignored.

reasonstring required

One reason, recorded on every ban.

Response

bannednumber required

Users banned by this request.

skippednumber required

Users not banned (see each item’s error).

Changes

No recorded changes to this operation across all 1 revision of this API.