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).
Note
Parameter osType
is optional. Default value: ANDROID
.
curl -X POST -u <api-key>: https://cloud.bitbar.com/api/me/device-groups -d 'displayName=NAME'
curl -u <api-key>: https://cloud.bitbar.com/api/me/device-groups/ID
curl -u <api-key>: https://cloud.bitbar.com/api/me/device-groups
curl -X DELETE -u <api-key>: https://cloud.bitbar.com/api/me/device-groups/ID
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"