Skip to main content
POST
/
api
/
device
/
modify
编辑设备信息
curl --request POST \
  --url https://api.example.com/api/device/modify \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "787d3d7093da4ad481a2fdd9324da879",
  "name": "设备你好",
  "deptId": "000000",
  "location": {
    "address": "",
    "longitude": null,
    "latitude": null
  }
}
'
{}

Headers

Authentication
string
required

Body

application/json
id
string
required
name
string

名称

location
object

位置信息

deptId
string

分组id

productModel
string

Response

200 - application/json

The response is of type object.