修改vnc控制器节点
PUT
/{adminPath}/updateVncNode
最后修改时间:2023-11-23 08:55:56
责任人:mryunqi
请求参数
Path 参数
adminPath
string
必需
示例值:
admin
Header 参数
Authorization
string
可选
Body 参数application/json
id
integer
必需
name
string
必需
host
string
必需
port
integer
必需
domain
string
对外公开的域名
protocol
integer | null
可选
proxy
integer | null
可选
status
integer
必需
示例
{
"id": 0,
"name": "string",
"host": "string",
"port": 0,
"domain": "string",
"protocol": 0,
"proxy": 0,
"status": 0
}
示例代码
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/updateVncNode' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"host": "string",
"port": 0,
"domain": "string",
"protocol": 0,
"proxy": 0,
"status": 0
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}