Groups

Bulk remove groups from users

Changed on

Bulk remove groups from multiple users, users under specific admins, or all users.

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

Notes:

  • If neither 'users' nor 'admins' are provided, groups will be removed from all users
  • Only existing user-group associations will be removed
  • Returns list of affected users (those who had groups removed)
post/api/groups/bulk/remove

Request

  • Base URL
    https://api.ha-man2.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.ha-man2.com/api/groups/bulk/remove
  • Auth
    OAuth 2
    Password
    Token URL: /api/admin/token

Request body

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

Response

Success confirmation

unknown required

Changes