IP组管理
添加IP到黑名单
Changed on将指定的IP地址或CIDR添加到系统默认黑名单组中
post/api/v1/ip-groups/blacklist/add
Request
- Base URLhttps://localhost:2333/api/v1
- URLhttps://localhost:2333/api/v1/api/v1/ip-groups/blacklist/add
- AuthAPI key in header Authorization
Request body
Example request
{
"ip": "192.168.1.1"
}Response
IP添加成功
Example response
{
"code": 200,
"message": "操作成功",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"success": true,
"timestamp": "2023-01-01T12:00:00Z"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking