# API: Add banned domain in bulk

# addBannedEmailDomainBulk

Add banned email domains in bulk

# Required parameters

Parameter Description
email Use | sign to separate multiple emails to be banned, ie: domain1.com|othermail.com
reason Ban reason
expires Ban expiration date YYYY-mm-dd format
expirestime Ban expiration time HH:mm format

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=addBannedEmailDomainBulk&email=EMAIL&reason=REASON&expires=EXPIRES&expirestime=EXPIRESTIME

# PHP Samples

# Response

{
    "success": true,
    "call": "addBannedEmailDomain",
    "server_time": 1730115194,
    "info": [
        "New email domain ban rule added"
    ]
}
Last Updated: 11/4/2024, 3:41:32 PM