{
"name": "string",
"description": "string",
"policyId": 0
}
curl --location --request POST '/device-groups' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"policyId": 0
}'
{
"code": 200,
"message": "设备组创建成功",
"data": {
"id": 0,
"name": "string",
"description": "string",
"policyId": 0,
"enrollmentId": 0,
"createdBy": 0,
"updatedBy": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}