删除设备
开发中
DELETE
/devices/{id}
请求参数
Path 参数
id
string
必需
示例值:
gb37xmt
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://test-cn.your-api-server.com/devices/gb37xmt'
返回响应
🟢200成功
application/json
Body
id
string
必需
device_id
string
必需
name
string
必需
trasnport
string
必需
stream_mode
string
必需
ip
string
必需
port
integer
必需
is_online
boolean
必需
registered_at
string
必需
keepalive_at
string
必需
keepalives
integer
必需
expires
integer
必需
channels
integer
必需
created_at
string
必需
updated_at
string
必需
password
string
必需
ext
object
必需
manufacturer
string
必需
model
string
必需
firmware
string
必需
示例
{
"id": "gbhp1ts",
"device_id": "12345678901234567890",
"name": "暨秀英",
"trasnport": "",
"stream_mode": "TCP_PASSIVE",
"ip": "",
"port": 0,
"is_online": false,
"registered_at": "2025-01-29 00:59:29",
"keepalive_at": "2025-01-29 00:59:29",
"keepalives": 0,
"expires": 0,
"channels": 0,
"created_at": "2025-01-29 00:59:29",
"updated_at": "2025-01-29 00:59:29",
"password": "1Hy0X3h66BgrWho",
"ext": {
"manufacturer": "",
"model": "",
"firmware": ""
}
}
修改于 2025-01-29 01:48:47