{
"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": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}