v1

latestOpenAPI 3.0.32026-07-14116331388.2 KB
Users
Moderation

Ban user

Restricts user activity either in specific channel or globally

post/moderation/ban

Request body

banned_by_idstring

User ID who issued a ban

idstring

Channel ID to ban user in

ip_banboolean

Whether to perform IP ban or not

reasonstring

Ban reason

shadowboolean

Whether to perform shadow ban or not

target_user_idstring required

ID of user to ban

timeoutnumber

Timeout of ban in minutes. User will be unbanned after this period of time

typestring

Channel type to ban user in

user_idstring

Response

Successful response

durationstring required

Duration of the request in human-readable format