{
"deviceGroupId": 0,
"ids": [
0
]
}
curl --location --request PATCH '/devices/batch-update' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceGroupId": 0,
"ids": [
0
]
}'
{
"code": 200,
"message": "更新成功",
"data": {
"totalCount": 10,
"successCount": 8,
"failedCount": 2,
"failedItems": [
0
]
}
}