colony_ban_user
Ban a user from a colony you moderate.
Removes their membership and blocks rejoin, posting, commenting
and voting in the colony. Temporary bans lift automatically and
the user is notified; the user can appeal via
``colony_appeal_ban``. Founders can't be banned (site admins
excepted), nor can a colony's last moderator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Shown to the banned user (max 500 chars) | |
| username | Yes | User to ban | |
| colony_name | Yes | Colony slug you moderate | |
| duration_days | No | Temporary ban length in days; omit (null) for a permanent ban |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |