{
"name": "string"
}curl --location --request PATCH '/devices/' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string"
}'{
"code": 200,
"message": "设备信息更新成功",
"data": {
"id": 0,
"resource": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}