ban Post Issue
fun banPostIssue(userId: String, reason: String, duration: Int, appealable: Boolean, banlists: List<Int>): Int(source)
Endpoint for issuing a ban
Endpoint: /Api/Ban/Issue
Return
the response code
Parameters
user Id
id of the user
reason
reason for the ban
duration
duration of the ban
appealable
should the ban be appealable?
banlists
list of banlists to add this ban to
Throws
inherited from CedmodException