useresponse
    Preparing search index...

    Interface BanUserParams

    interface BanUserParams {
        ban_duration_days?: number;
        ban_reason?: string;
        delete_related_objects?: boolean;
        permanent?: boolean;
    }
    Index

    Properties

    ban_duration_days?: number

    Duration of the ban in days (ignored if permanent)

    30
    
    ban_reason?: string

    Reason for banning the user

    Fraudulent activity detected
    
    delete_related_objects?: boolean

    Whether to delete user's related objects (tickets, comments, etc.)

    true
    
    permanent?: boolean

    If true, the ban is permanent

    false