更新
开发中
开发环境
http://39.100.59.112:8000
开发环境
http://39.100.59.112:8000
PUT
http://39.100.59.112:8000
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Accept
string
必需
默认值:
application/json
Body 参数application/json
domain_uuid
string
域名uuid
active
boolean
开关
示例
{
"domain_uuid": "string",
"active": true
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://39.100.59.112:8000/firewall/data_leakages' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain_uuid": "string",
"active": true
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
domain_uuid
string
域名uuid
active
boolean
开关
示例
{
"code": 0,
"message": "string",
"data": {
"domain_uuid": "string",
"active": true
}
}