Moderation

Suspend, ban or restore an account (moderator only)

Changed on

Recorded in the account's moderation history. Suspending or banning ends the account's current sessions; restoring also dismisses the open reports against it.

put/users/{userId}/moderation

Request

  • Base URL: https://whatareyoudo.ing/api/v1
  • URL: https://whatareyoudo.ing/api/v1/users/{userId}/moderation
  • Auth: HTTP bearer

Path parameters

userIdstring uuid required

Request body

status'active' | 'suspended' | 'banned' required
reasonstring nullable

Response

OK

Changes