Homepage

users_update_all

Last edit: Nov 10, 2026

Updates every user that matches the filter (all users when all_users is true).
The matching users are selected immediately and the returned count is their
number; the update itself runs in a background job unless sync is true. Atomic
property operations are applied directly in the database, everything else is
saved user by user, so use it for small sets only; for large amounts of data
use data import instead.

users_update_all(
  all_users: Boolean
  filter: UsersFilterInput
  sync: Boolean
  user: UserInputType!
): ObjectCount!

Arguments

all_users (Boolean)

Must be true to update all users when no filter is given

filter (UsersFilterInput)

Conditions the updated users must match

sync (Boolean)

When true, the update finishes before the mutation returns instead of in a background job

user (UserInputType)

Attributes to set on every matching user

Type

ObjectCount

Result of a bulk operation

Questions?

We are always happy to help with any questions you may have.

contact us