Overview
The user_groups query is designed to fetch a list of all user groups within the team. This query allows you to retrieve information about user groups including their members.Arguments
mine
is an optional boolean argument. If set to true
, returns only user groups that the
current user belongs to. If not provided or set to false
, returns all user groups in the team.Schema
Fields available to the UserGroup queryUsage Example
Error Codes
List of possible error codes that may be returned by theuser_groups
query. Full list of error codes can be found here.
not_authorized
not_authorized