修改IP信息
PUT
/{adminPath}/updateIp
最后修改时间:2023-08-10 03:00:24
责任人:mryunqi
请求参数
Path 参数
adminPath
string
后台路径
示例值:
admin
Header 参数
Authorization
string
可选
Body 参数application/json
array of:
id
integer
必需
nodeId
integer | null
可选
vmId
integer | null
可选
poolId
integer | null
可选
subnetMask
string | null
可选
gateway
string | null
可选
dns1
string | null
可选
dns2
string | null
可选
status
integer | null
可选
示例
[
{
"id": 31,
"dns1": "114.114.114.114"
},
{
"id": 408,
"dns1": "114.114.114.114"
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT '/admin/updateIp' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"id": 31,
"dns1": "114.114.114.114"
},
{
"id": 408,
"dns1": "114.114.114.114"
}
]'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2023-08-10 03:00:24