moo.sdk.moderation.ban

moo.sdk.moderation.ban(account, reason='')

Ban an account and blacklist its durable identity / last site.

The status flag stops this account; the Blacklist row stops the same human from re-registering under a fresh account.

Parameters:

account – the Player account to ban

Raises:
  • PermissionError – if the caller is not staff

  • UserError – if the target is missing or is a staff account