删除设备
POST
/open-api/DeleteMachine
设备
最后修改时间:2025-01-06 06:47:36
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/open-api/DeleteMachine' \
--header 'Token: {{'\''1111111111'\''}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"ID": 0,
"UUID": "stringstringstringstringstringstringstringstringstringstringstri",
"Sn": "stringstringstringstringstringst",
"Kind": "onu",
"Name": "string",
"Comment": "string",
"SoftwareVersion": "string",
"SoftwareDate": "string",
"HardwareVersion": "string",
"ModelName": "string",
"MAC": "string",
"Vendor": "string",
"MgtIP": "strings",
"StatusCode": "string",
"TemplateID": 0,
"TemplateModeID": 0,
"ConfigServer": {
"LAN": {
"Gateway": "192.168.1.1",
"Mask": "255.255.255.0",
"DHCPEnable": true,
"DNSMode": 0,
"DHCPServer1": "114.114.114.114",
"DHCPServer2": "8.8.8.8",
"LoopEnable": false,
"Interface": [
{
"Enable": true,
"PoeEnable": false,
"Negotiate": "auto",
"VlanMode": "untag",
"VlanDefault": 1,
"VlanList": "100/100,2024/2024,89/89,2431/2431"
}
]
},
"NTP": {
"Enable": true,
"Zone": "UTC+08:00",
"Server1": "clock.fmt.he.net",
"Server2": "time.windows.com"
},
"CATV": [
{
"Enable": true,
"Atten": 0
}
],
"WAN": [
{
"Enable": false,
"Vlan": 0,
"Priority": 0,
"Mvlan": 0,
"NatEnable": true,
"ServiceType": "INTERNET",
"MTU": 1500,
"IPVersion": "IPv4",
"IPMode": "DHCP",
"PPPUsername": "MyUsername",
"PPPPassword": "Mypassword",
"PPPSername": "Lab-PPPoE_NE800",
"PPPAcname": "ChinaMobilephone",
"IPv6Mode": "SLAAC",
"IPv6PD": true,
"LanBind": "LAN1, LAN2, WLAN0"
}
],
"WLAN": {
"CountryCode": "CN",
"RoleMode": "ap",
"Power2G": "100%",
"Power5G": "100%",
"Bandsteer": false,
"5to2Thr": "-70",
"2to5Thr": "-50",
"SSIDs": [
{
"Index": 0,
"Enable": true,
"Mode": "802.11b/g/ac/ax",
"SSID": "string",
"Bandwith": "20M",
"Channel": "0",
"Hiden": false,
"Encrypt": "wpa2",
"Password": "stringst",
"UserLimit": 0,
"UserRate": 0
}
]
},
"VoIP": {
"ProxyAddr": "string",
"ProxyPort": "5060",
"RegAddr": "string",
"RegPort": "5060",
"OutproxyAddr": "string",
"OutproxyPort": "5060",
"BackupProxyAddr": "string",
"BackupProxyPort": "5060",
"BackupRegAddr": "string",
"BackupRegPort": "5060",
"BackupOutproxyAddr": "string",
"BackupOutproxyReg": "5060",
"CallerID": "dtmf",
"Dtmf": "inband",
"ToneProfile": "china",
"SIPs": [
{
"PhoneNo": "string",
"Username": "string",
"Password": "string"
}
]
}
},
"ConfigClient": {
"LAN": {
"Gateway": "192.168.1.1",
"Mask": "255.255.255.0",
"DHCPEnable": true,
"DNSMode": 0,
"DHCPServer1": "114.114.114.114",
"DHCPServer2": "8.8.8.8",
"LoopEnable": false,
"Interface": [
{
"Enable": true,
"PoeEnable": false,
"Negotiate": "auto",
"VlanMode": "untag",
"VlanDefault": 1,
"VlanList": "100/100,2024/2024,89/89,2431/2431"
}
]
},
"NTP": {
"Enable": true,
"Zone": "UTC+08:00",
"Server1": "clock.fmt.he.net",
"Server2": "time.windows.com"
},
"CATV": [
{
"Enable": true,
"Atten": 0
}
],
"WAN": [
{
"Enable": false,
"Vlan": 0,
"Priority": 0,
"Mvlan": 0,
"NatEnable": true,
"ServiceType": "INTERNET",
"MTU": 1500,
"IPVersion": "IPv4",
"IPMode": "DHCP",
"PPPUsername": "MyUsername",
"PPPPassword": "Mypassword",
"PPPSername": "Lab-PPPoE_NE800",
"PPPAcname": "ChinaMobilephone",
"IPv6Mode": "SLAAC",
"IPv6PD": true,
"LanBind": "LAN1, LAN2, WLAN0"
}
],
"WLAN": {
"CountryCode": "CN",
"RoleMode": "ap",
"Power2G": "100%",
"Power5G": "100%",
"Bandsteer": false,
"5to2Thr": "-70",
"2to5Thr": "-50",
"SSIDs": [
{
"Index": 0,
"Enable": true,
"Mode": "802.11b/g/ac/ax",
"SSID": "string",
"Bandwith": "20M",
"Channel": "0",
"Hiden": false,
"Encrypt": "wpa2",
"Password": "stringst",
"UserLimit": 0,
"UserRate": 0
}
]
},
"VoIP": {
"ProxyAddr": "string",
"ProxyPort": "5060",
"RegAddr": "string",
"RegPort": "5060",
"OutproxyAddr": "string",
"OutproxyPort": "5060",
"BackupProxyAddr": "string",
"BackupProxyPort": "5060",
"BackupRegAddr": "string",
"BackupRegPort": "5060",
"BackupOutproxyAddr": "string",
"BackupOutproxyReg": "5060",
"CallerID": "dtmf",
"Dtmf": "inband",
"ToneProfile": "china",
"SIPs": [
{
"PhoneNo": "string",
"Username": "string",
"Password": "string"
}
]
}
},
"LastStat": {
"UUID": "string",
"Kind": "ONU",
"Timestamp": "string",
"System": {
"Name": "SYSTEM",
"DiskUsage": 0,
"DiskFree": 0,
"Uptime": 0,
"TCPConnection": 0,
"DownloadRate": 0,
"UploadRate": 0,
"GatewayDelay": 0,
"InternetDelay": 0,
"PonNum": 0,
"SfpNum": 0,
"EthNum": 0,
"WifiNum": 0,
"PotsNum": 0,
"CatvNum": 0,
"PoeNum": 0,
"OttOnline": 0,
"OttOffline": 0,
"PhoneOnline": 0,
"PhoneOffline": 0,
"OnuOnline": 0,
"OnuOffline": 0
},
"PON": [
{
"Name": "1",
"Status": "disabled",
"TxPower": 0,
"BiasCurrent": 0,
"Voltage": 0,
"RxUnicastBytes": 0,
"TxUnicastBytes": 0,
"RxMuiticastPackets": 0,
"RxBroadcastPackets": 0,
"OnuOnline": 0,
"OnuOffline": 0,
"OnuAuth": 0,
"OnuUnauth": 0
}
],
"WAN": [
{
"Name": "1",
"Mac": "5E:12:4D:22:A1:33",
"IPMode": "PPPoE",
"IPVersion": "IPv4/IPv6",
"IP": "10.3.24.221",
"Gateway": "10.3.20.3",
"Subnet": "255.255.255.255",
"DNS": "114.114.114.114,8.8.8.8",
"IPv6Mode": "SLAAC",
"IPv6": "2001:213d:1a33:67d2::2188",
"Gatewayv6": "fe80:2311:2e31:6532::3412",
"DHCPv6PD": "enable",
"IPv6Prefix": "2083:556a:7631:1312::/62",
"DNSv6": "240e:1f:2131:1::3323,240e:871f:1121:7642::9826",
"Status": "connected",
"RxUnicastBytes": 0,
"TxUnicastBytes": 0,
"RxMuiticastPackets": 0,
"RxBroadcastPackets": 0,
"TxRate": 0,
"RxRate": 0
}
],
"LAN": [
{
"Name": "1",
"Type": "RJ45",
"Status": "disabled",
"LoopStatus": "yes",
"TxRate": 0,
"RxRate": 0,
"RxUnicastBytes": 0,
"TxUnicastBytes": 0,
"RxMuiticastPackets": 0,
"RxBroadcastPackets": 0
}
],
"WLAN": [
[
{
"SSID": "room_1312",
"Band": "2.4G",
"Status": "string",
"CfgChannel": "8",
"CurChannel": "string",
"Connection": 0,
"Load": 0,
"CCA": 0,
"TxRate": 0,
"RxRate": 0,
"RxUnicastBytes": 0,
"TxUnicastBytes": 0,
"RxMuiticastPackets": 0,
"RxBroadcastPackets": 0,
"Clients": [
{
"Hostname": "string",
"IPv4": "string",
"MAC": "string",
"RSSI": 0,
"TxRate": 0,
"RxRate": 0,
"OnlineDuration": 0
}
]
}
]
],
"VoIP": [
{}
],
"CATV": [
{
"Name": "string",
"RxPower": 0,
"Status": "ON",
"OutputLv": 0
}
],
"EthPort": [
{
"Name": "1",
"Type": "RJ45",
"Status": "disabled",
"LoopStatus": "looped",
"Speed": "100M",
"TxRate": 0,
"RxRate": 0,
"RxUnicastBytes": 0,
"TxUnicastBytes": 0,
"RxMuiticastPackets": 0,
"RxBroadcastPackets": 0
}
],
"TR069": [
{}
]
},
"StatUpdatedAt": "string",
"Protocol": "string",
"FrpURL": "string",
"SnmpURL": "string",
"TelnetURL": "string"
}'
响应示例响应示例
200 - 成功 - 示例 1
{}
请求参数
Header 参数
Token
string
可选
默认值:
{{'1111111111'}}
Content-Type
string
可选
默认值:
application/json
Body 参数application/json
返回响应
修改于 2025-01-06 06:47:36