Skip to main content
Group management endpoints for creating, updating, and managing user groups.

List Groups

Retrieves all groups accessible to the authenticated user.

Query Parameters

boolean
Filter by share permission. For non-admin users, filters groups based on membership and share settings.

Response

array
Array of group objects

Create Group

Creates a new group. Requires admin authentication.

Request Body

string
required
Group name
string
required
Group description
object
Group-specific permissions
object
Additional group data. If not provided, default share configuration is applied.

Get Group

Retrieves detailed information about a specific group. Requires admin authentication.

Path Parameters

string
required
The unique identifier of the group

Update Group

Updates group information. Requires admin authentication.

Request Body

string
required
Updated group name
string
required
Updated group description
object
Updated permissions
object
Updated group data

Add Users to Group

Adds users to a group. Requires admin authentication.

Request Body

array
Array of user IDs to add to the group. Invalid user IDs are automatically filtered out.

Remove Users from Group

Removes users from a group. Requires admin authentication.

Request Body

array
Array of user IDs to remove from the group

Get Group Users

Retrieves all users in a specific group. Requires admin authentication.

Response

Returns an array of user objects with basic information:

Export Group

Exports complete group information including all user IDs. Requires admin authentication.

Response

Returns group object with additional user_ids field:
array
Array of all user IDs in the group

Delete Group

Deletes a group and all member associations. Requires admin authentication.

Response

Returns true if successful, error otherwise.

Notes

  • Admin users can access all groups regardless of membership
  • Non-admin users can only see groups they are members of (unless group share is set to true)
  • Group share settings:
    • true or "true": Anyone can share to this group
    • false or "false": Nobody can share to this group
    • "members": Only group members can share to this group
  • Adding duplicate users to a group is silently ignored
  • Invalid user IDs are automatically filtered when adding users
  • All group operations update the updated_at timestamp