Last modified on October 21, 2020

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

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'

Get a device group

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"

See Also

Managing devices and device groups
Managing Device Group Devices and Selectors
Authentication

Highlight search results