Server Ban → Add
AI-generatedSummary
Add a new IRC ban on the UnrealIRCd server by specifying a ban mask or name pattern and the type of ban (G-line, K-line, Z-line, or Q-line).
Inputs
- Ban Name/Mask (required) — The IRC ban mask or name pattern (e.g., @.example.com) to ban.
- Ban Type (required) — The type of IRC ban to apply, selectable from G-line (global network ban), K-line (local server ban), Z-line (IP address ban), or Q-line (nickname ban).
Output shape
A single JSON object containing the operation result indicating success and details of the added ban.
Returns an object with keys: resource, operation, success (boolean), result (ban details), and ai_safe. No pagination. Errors are reported in the result of the operation.