#!/bin/bash

appCrowdSecUnban() {
    local args="$1"
    local ip="$(authToolArg "$args" ip)"
    if [[ -z "$ip" ]]; then
        isNotice "No IP provided — pass ip=<address> via the Tools modal."
        return 1
    fi
    runSystem cscli decisions delete --ip "$ip"
    checkSuccess "Removed decisions for $ip"
}
