When operating at scale (100K+ devices in a single tenant), it is critical to have ability to issue commands once that apply to a group of devices. A standard API that accepts a list of device groups and a list of LwM2M shell commands is needed. An option to include these inputs in a file upload would be preferred (allows customer-level configurations following device provisioning). The ability to schedule the group command would also be preferred. A job status API that provides a query on status of all commands issued would also be preferred. (I have written a microservice that provides a basic working example of what is needed).
Hi Jeff, have you tried using the bulk operations feature to achieve this. The easiest way to do so is to execute the operation on a test device and afterwards schedule the same operation as a bulk operation. You can find more information in our public documentation: https://cumulocity.com/guides/users-guide/device-management/#to-schedule-a-single-operation-as-bulk-operation
The bulk operation API is documented here: https://cumulocity.com/api/10.13.0/#tag/Bulk-operations
Regards,
Nikolaus