# Create a device group Create a group in Devices & Groups. Endpoint: POST /enterprise/{enterprise_id}/devicegroup/ Version: 1.0.0 Security: apiKey ## Path parameters: - `enterprise_id` (string, required) A UUID string identifying enterprise. ## Request fields (*/*): - `name` (string, required) Group name - `parent` (string) Parent group id - `device_ids` (array) Devices ids ## Response 201 fields (application/json): - `id` (string) Group id - `name` (string, required) Group name - `created_on` (string) Date and time of when the group was created - `enterprise` (string) Enterprise url - `parent` (string) Parent group url - `device_count` (integer) Count of devices in the group - `path` (string) Path of the group - `children_count` (integer) Count of child groups - `thumbnail` (string) thumbnail associated with the group - `blueprint` (string) Blueprint associated with the group. ## Response 400 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer) ## Response 401 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer) ## Response 403 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer) ## Response 500 fields (application/json): - `errors` (array) - `message` (string) - `status` (integer)