Skip to content

Cookie preferences

We use cookies for our own analytics, to see how our campaigns perform and, if you allow it, to load content from other services such as the Google site search. We never sell your data. Necessary cookies keep the site working and cannot be switched off. See our Cookie Policy for details and our Privacy Policy for how we handle personal data.

Security, load balancing and remembering your cookie choice.

Show us which pages people read, how they find the site and where they get stuck, so we can improve it (Google Analytics, Microsoft Clarity).

Show us which of our ad campaigns bring visitors to the site and remember the campaign or partner link you arrived from (Google Ads, LinkedIn, Meta, partner program). We do not use these cookies to build advertising profiles.

Load the site search from Google when you use it. Google sets its own cookies and shows ads in the search results.

© 2026 The ThingsBoard Authors

Entity Groups

Entity Groups let you organize devices, assets, entity views, customers, users, dashboards, edge instances, and agents into custom collections. Each owner — the tenant and each customer — has a reserved All group for every entity type, which contains all entities it owns. An entity can belong to several groups of its owner at the same time.

Groups serve three main purposes:

  • Organization — categorize entities by location, function, project, or any custom criteria
  • Access control — share groups with customers and configure permissions per group
  • Bulk operations — change ownership, move, add, or remove entities in batches

The process is the same for all entity types (user groups have no sharing step). The steps below use devices as an example:

  1. Navigate to the entity page (e.g., Devices & assets ⇾ Devices) and switch to the Groups tab.
  2. Click + Add entity group.
  3. On the Entity group details step, enter the group name and, optionally, a description.
  4. Click Next: Share entity group to open the optional second step. Enable Share entity group to share the new group with a Customer right away, and configure it as described in Share Entity Group below — or skip this step to create an unshared group.
  5. Click Add.

The new group appears in the Groups tab. Open it to view and manage its entities.

Open a group and click the pencil icon to open its configuration.

Tab Description
Details Edit the group name, description, and (device groups only) assigned firmware/software; shortcuts to open, delete, share, or make the group public, and to copy its ID
Columns Add, remove, reorder, and style the columns shown in the group’s entity table
Settings Control the group’s display behavior — search, add/delete/select entities, group transfer actions, pagination, etc.
Actions Define quick actions (navigate to dashboard or custom logic) for each entity in the group
Permissions Every group except user groups: grant a role to a user group for all entities in this group
Roles User groups only: the roles assigned to this user group — generic roles, and group roles with the entity group each one applies to
Attributes View, add, and delete server attributes on the entity group itself
Latest telemetry View, add, and delete the most recent telemetry values on the entity group itself
Audit logs View a history of actions performed on the entity group
Version control Save the group to the tenant’s Git repository and restore earlier versions. Tenant administrators only; not shown for shared groups or for edge instance and agent groups

Grant a role to a user group for all entities in the group, from the group’s Permissions tab (see Group Configuration):

  1. Click + to add a permission entry.
  2. Select a Role, then the User group owner and the User group the role applies to.
  3. Click Add.

To edit or delete an entry, use the corresponding icon next to it in the same tab. You can add or edit entries only in groups you own and can edit; for groups shared with you, the tab is read-only.

For a user group, open its Roles tab instead. It lists the same entries from the user-group side, plus any generic roles assigned to the group. To add one, select the Role type, the Role, and, for a group role, the Group owner and the Entity group.

Select multiple entities within a group using checkboxes to perform bulk actions:

Operation Description
Change owner Transfer selected entities to another owner (a customer or the tenant). They are removed from all their current groups and placed in the new owner’s All group
Add to group Add selected entities to another group (does not remove them from the current group)
Move to group Move selected entities to another group (removes them from the current group); not available in the All group
Remove from group Remove selected entities from the current group (does not delete the entities); not available in the All group
Delete Permanently delete selected entities

If the checkboxes or an action are missing, check the group’s Settings tab (see Group Configuration): Enable entities selection shows the checkboxes; Enable group transfer actions shows Add to group, Move to group, and Remove from group; and Enable entities delete shows Delete. All three are on by default. Change owner and the group transfer actions are available only in groups you own, not in groups shared with you, and only if your roles allow the operation.

Sharing a group grants a user group (usually a customer’s) access to all entities inside it by creating a permission entry for each role you assign.

  1. In the Groups tab, click the Share icon next to the target group (hover over the row icons to see their tooltips), or enable Share entity group on the second step of the Add entity group wizard when creating a new group.
  2. Select the Customer (required; for tenant administrators, the list also includes your tenant, and for customer users, your own customer).
  3. Enable All users to grant access to every user of that Customer, or leave it unchecked and select a specific user group instead.
  4. Under Permissions, choose Read (the default; assigns the Entity Group Read-only User role, which also allows sending RPC commands to the group’s devices and reading their credentials), Write (Entity Group Write User, all operations; shown in the Share dialog only if you can edit the group’s entities), or Other to assign one or more group roles.
  5. Click Share (or Add when sharing from the creation wizard).

Recipients see shared groups on the Shared tab next to Groups on the entity page. Sharing a group does not change its owner. Customer users can create or delete its entities only if the group is owned by their own customer or one of its sub-customers, whatever role you pick. See Create and Delete require ownership on the Roles page.

To update or revoke access later, see Manage Permissions.

Making a group public lets anyone with a public link (for example, to a public dashboard), without signing in, view its entities with their attributes, telemetry, and alarms, and send RPC commands to them. Use it only for non-sensitive data. Only device, asset, entity view, edge instance, and dashboard groups can be made public, and only by users with write access to a group owned directly by their tenant or customer (not a sub-customer).

Make public:

  1. In the Groups tab, click the Make public icon next to the target group (not Share, which shares the group with a customer).
  2. Confirm in the dialog.

Make private:

  1. Click the Make private icon next to the group.
  2. Confirm in the dialog. Public access is removed immediately.

For controlled access to specific customers, use share entity group or manage permissions instead.

Click the trash icon next to a group in the list (or select multiple groups with checkboxes to delete them in bulk), or open the group’s details (pencil icon) and click Delete entity group on the Details tab. Confirm the deletion.

You can’t delete an All group or a user group you belong to. A user group with the Tenant Administrator role is an exception: you can delete it as long as at least one tenant administrator remains outside it.