v1

latestSwagger 2.0Apache 2.02026-07-174372196.9 KB
IP组管理

添加IP到黑名单

将指定的IP地址或CIDR添加到系统默认黑名单组中

post/api/v1/ip-groups/blacklist/add

Request body

ipstring required

IP地址或CIDR

Example request

{
  "ip": "192.168.1.1"
}

Response

IP添加成功

codeinteger
messagestring
requestIdstring
successboolean
timestampstring

Example response

{
  "code": 200,
  "message": "操作成功",
  "requestId": "550e8400-e29b-41d4-a716-446655440000",
  "success": true,
  "timestamp": "2023-01-01T12:00:00Z"
}