Update multiple user groups
PUT/groups-srv/bulk/usergroups
This API call bulk updates existing user groups. All groups must already exist.
Operation Behavior:
- Updates multiple existing user groups in a single API call
- All user groups in the array must already exist (cannot create new groups)
- Each user group is processed independently
- The operation continues processing even if individual items fail
Validation Rules:
- Request body must be a valid JSON array
- Array must contain at least one user group object
- Each user group must have a
groupIdthat exists in the system - Each user group must comply with update validation rules:
groupId: Required, must exist in the systemgroupName: Optional, if provided cannot be emptygroupType: Optional, if provided must reference an existing group typeparentId: Optional, if provided must be "root" or a valid existing groupIdgroupOwner: Cannot be changed (immutable)
Business Rules:
- This endpoint only updates existing groups - use POST for creating new groups
- All groups in the batch must have
groupOwner: client(admin-owned groups cannot be updated via API) - The
groupIdandgroupOwnerfields cannot be changed - The operation is not fully atomic - some items may succeed while others fail
- Check the response to identify which user groups were successfully updated and which failed
Request
Responses
- 200
- 400
- 401
OK - Bulk update operation completed. Check the response for individual success/failure status of each user group.
Bad Request - Request body is invalid (e.g., not an array, empty array, or malformed user group objects)
Unauthorized - Authentication failed or missing required scope