Configuration Generator

Endpoint description

Ban the specified IP address from the player

Endpoint route

POST

/api/v1/banlist/ips/ban

Response type

Application/Json

Header parameters

KeyValueTypeRequired
AuthorizationBasic [key]stringFor Basic authentication mode only
Authorization[key]stringFor Key-Basic and Key-Advanced authentication modes only

Query Parameters

No parameters

Body parameters

{
    "ip": string                    // IP address to ban 
}

Access rights

Authentication typeKey typeAllowed
Openfalse
Basicfalse
Key-Basicfalse
Key-AdvancedPublic keyfalse
Key-AdvancedProtected keyfalse
Key-AdvancedAdmin keyfalse

Success response

{
    "success": bool,
    "code": int,
    "message": string
}

Error response

{
    "success": bool,
    "code": int,
    "message": string
}

Return codes

HTTP CodeType
202Accepted
400Bad Request
401Unauthorized
403Forbidden
404Not Found