v3.3.0
v3.3.0
Date: 2026-07-27
Previous release: v3.2.2
Summary
Adds comprehensive inventory group management commands: list devices in a group,
delete groups, bulk add/remove devices from groups, and per-device group
management (get/set/clear).
Highlights
mender-cli inventory groups get --name <name>: List all device IDs
belonging to a static group (auto-paginated). Supports-r/--rawfor JSON
output.mender-cli inventory groups delete --name <name>: Delete a static group
by removing all devices from it. Requires interactive confirmation unless
--yesis provided.mender-cli inventory groups add-devices --name <name> DEVICE_ID...: Add
one or more devices to a static group. Creates the group implicitly if it
does not exist.mender-cli inventory groups remove-devices --name <name> DEVICE_ID...:
Remove one or more devices from a static group.mender-cli inventory device-group get: Show which group a single device
belongs to. Target with--idor-f/--filter.mender-cli inventory device-group set --name <group>: Assign a device to
a group. If the device is already in another group, it is moved. Target with
--idor-f/--filter.mender-cli inventory device-group clear: Remove a device from its
current group. Target with--idor-f/--filter.
Notes
- No explicit "create group" command: Groups are created implicitly when
devices are added viaadd-devicesordevice-group set. This matches the
Mender API behavior. - No "rename group" command: The API does not support group renaming. To
rename, delete the old group and recreate with the new name. - Single group per device: A device can belong to at most one static group.
Assigning to a new group automatically removes from the previous one.
Upgrading
- No breaking changes. Existing commands and flags are unchanged; the new
device-groupsubcommand tree and expandedgroupssubcommands are purely
additive.