A Device Group is used to group together devices and has a profile assigned to it.

GET
/api/devicegroup - get all device groups on account
/api/devicegroup/1 - get devicegroup with id of 1

POST
/api/devicegroup - create device group, include json in the request body as per below:

{\"name\":\"My Device Group\",\"profileid\":1,\"createregistrationkey\":false}
If "createregistrationkey" is set to true, a registration key associated with the device group will be created and it will be returned in the response.
Was this article helpful?
Thank you!