Device groups can be based on devices and/or device filters (selectors). Devices can be added statically (adding a device to a device group by device IDs) or dynamically (adding a selector to a device group by selector IDs).
Create a device group
curl -X POST -u <api-key>: https://cloud.bitbar.com/api/me/device-groups -d 'displayName=NAME'
Get a device group ID
curl -u <api-key>: https://cloud.bitbar.com/api/me/device-groups/ID
List all device groups
curl -u <api-key>: https://cloud.bitbar.com/api/me/device-groups
Delete a device group
curl -X DELETE -u <api-key>: https://cloud.bitbar.com/api/me/device-groups/ID
Edit a device group
|Note:||All of the parameters are optional.|
curl -X POST -u <api-key>: https://cloud.bitbar.com/api/me/device-groups/ID -d "displayName=NAME&osType=IOS"
Managing devices and device groups
Managing Device Group Devices and Selectors