Overview
Groups are useful inside Domo because you can grant access to specified content or conversations to all members of a group. It also adds quick access for users inside Domo’s chat tool, Buzz, to mention a group of users which can then trigger notifications to each member.



Group use cases
Groups in Domo allow you to scale and extend Domo’s user management to support multiple use cases:
- Grant personalized data permissions to an entire set of related users based on similar attributes (e.g. department, team, locale)
- Share subscriptions and access to dashboards and metrics to a group without needing to enroll individuals one at a time
- Easily draw attention to a larger audience by sending a message to an entire group while in Domo’s collaboration tool.
Quickstart
Creating a group with users inside Domo is easy to do and only requires two steps
- Create a group
- Add a user to a group
- Remove a user from a group
Note
In order to utilize this Quickstart you will need to obtain an access token or you can leverage any of Domo’s SDKs which will also handle authentication.
Step 1: Create a group
Groups are collections of users. Group APIs makes it easy to manage a large number of users that are related in some way. Groups allow you to set access rights to data that stays consistent even when the group members may change. Groups are also a convenient way to communicate with a group of related users inside Domo’s collaboration tool, Buzz. This code creates a group via the Group API:
Sample Request
See this sample request in Java, Python.Group object with all the relevant details:
Sample Response
Step 2: Add user(s) to a group
With a new
group_id, add an existing user_id (from User API) to the group:
Sample Request
See this sample request in Java, Python.Sample Response
Step 3: Remove user(s)
Similar to adding a user to a group, you will need both the
group_id and user_id in order to remove a user from a group: