- WAF功能
- 节点自动注册到后台
- 其它接口
- 接口更新日志
- AI接口
- 定制页面上传
- API完成情况
- UEBA参数文档
- 防火墙配置
- 节点、域名、缓存
- 接口认证
- 节点管理
- 缓存配置
- 防火墙配置
- 证书管理
- 统计数据
- 其它
- 健康检查
- AI接口
- 接口认证
- 测试包
- UEBA【2024.06更新】
- UEBA2.0(2025.06新增)
- 【内部用】ip库管理【2024.06更新】
三层封禁
开发中
POST
/three/blockedip
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Accept
string
必需
默认值:
application/json
Body 参数application/json
all
object
必需
blocked_ip
array[string]
必需
release_time
integer
必需
type
integer
必需
blocked_type
string
必需
node
array [object {5}]
必需
node_uuid
string
必需
blocked_ip
array[string]
必需
release_time
integer
必需
type
integer
必需
blocked_type
string
可选
domain
array [object {5}]
必需
domain_uuid
string
必需
blocked_ip
array[string]
必需
release_time
integer
必需
type
integer
必需
blocked_type
string
必需
示例
{
"all": {
"blocked_ip": [
"1.1.1.1",
"1.1.1.2",
"1.1.1.3",
"1.1.1.4",
"1.1.1.5",
"1.1.1.6",
"1.1.1.7",
"1.1.1.8",
"1.1.1.9",
"1.1.1.10"
],
"release_time": 0,
"type": 0,
"blocked_type": "default"
},
"node": [
{
"node_uuid": "string",
"blocked_ip": [
"2.2.2.1",
"2.2.2.2",
"2.2.2.3",
"2.2.2.4",
"2.2.2.5",
"2.2.2.6",
"2.2.2.7",
"2.2.2.8",
"2.2.2.9",
"2.2.2.10",
"2.2.2.10"
],
"release_time": 0,
"type": 0,
"blocked_type": "cc"
}
],
"domain": [
{
"domain_uuid": "8f9422b7ba5d599d855173f696621625dx73dx23y",
"blocked_ip": [
"1.1.1.1"
],
"release_time": 0,
"type": 0,
"blocked_type": "string"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/three/blockedip' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"all": {
"blocked_ip": [
"1.1.1.1",
"1.1.1.2",
"1.1.1.3",
"1.1.1.4",
"1.1.1.5",
"1.1.1.6",
"1.1.1.7",
"1.1.1.8",
"1.1.1.9",
"1.1.1.10"
],
"release_time": 0,
"type": 0,
"blocked_type": "default"
},
"node": [
{
"node_uuid": "string",
"blocked_ip": [
"2.2.2.1",
"2.2.2.2",
"2.2.2.3",
"2.2.2.4",
"2.2.2.5",
"2.2.2.6",
"2.2.2.7",
"2.2.2.8",
"2.2.2.9",
"2.2.2.10",
"2.2.2.10"
],
"release_time": 0,
"type": 0,
"blocked_type": "cc"
}
],
"domain": [
{
"domain_uuid": "8f9422b7ba5d599d855173f696621625dx73dx23y",
"blocked_ip": [
"1.1.1.1"
],
"release_time": 0,
"type": 0,
"blocked_type": "string"
}
]
}'
返回响应
🟢200成功
application/json
Body
all
object
全局封禁
blocked_ip
array[string]
封禁ip
release_time
integer
必需
type
integer
必需
blocked_type
string
必需
node
array [object {5}]
节点封禁
node_uuid
string
可选
blocked_ip
array[string]
封禁ip
release_time
integer
解封时间
type
integer
可选
blocked_type
string
可选
domain
array [object {5}]
域名封禁
domain_uuid
string
域名id
blocked_ip
array[string]
ip封禁
release_time
integer
解封时间
type
integer
可选
blocked_type
string
可选
示例
{
"all": {
"blocked_ip": [
"string"
],
"release_time": 0,
"type": 0,
"blocked_type": "string"
},
"node": [
{
"node_uuid": "string",
"blocked_ip": [
"string"
],
"release_time": 0,
"type": 0,
"blocked_type": "string"
}
],
"domain": [
{
"domain_uuid": "string",
"blocked_ip": [
"string"
],
"release_time": 0,
"type": 0,
"blocked_type": "string"
}
]
}
修改于 2024-04-28 12:19:29