{
"name": "string",
"description": "string",
"policyId": 0
}
curl --location --request PATCH '/device-groups/' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"policyId": 0
}'
{
"code": 200,
"message": "操作成功",
"data": {
"id": 1,
"name": "设备组名称",
"description": "设备组描述",
"policyId": 1,
"enrollmentId": 1,
"enterpriseId": 1,
"createdBy": 1,
"updatedBy": 1,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deviceUpdateResult": {
"totalCount": 5,
"successCount": 5,
"failedCount": 0,
"failedItems": [
1
]
}
}
}