Groups

Bulk add groups to users

Bulk assign groups to multiple users, users under specific admins, or all users.

  • group_ids: List of group IDs to add (required)
  • users: Optional list of user IDs to assign the groups to
  • admins: Optional list of admin IDs — their users will be targeted

Notes:

  • If neither 'users' nor 'admins' are provided, groups will be added to all users
  • Existing user-group associations will be ignored (no duplication)
  • Returns list of affected users (those who received new group associations)
post/api/groups/bulk/add

Request body

group_idsinteger[] required
has_group_idsinteger[]
adminsinteger[]
usersinteger[]
dry_runboolean

Response

Success confirmation

{"stackTrail":"paths:/api/groups/bulk/add:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.