Update many users
Apply one set of changes to every user matching your filter.
The filter must be in the query string. A filter in the body is ignored, and a request with no filter is rejected with 400 so you cannot update the whole table by accident.
Authorizations
Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.
Query Parameters
Full-text search across the resource's search columns. Append :col1,col2 to limit which columns are searched.
AND/OR filter expression, for example type eq 'phase' and isArchived eq false. Simple equality can also be passed as plain field parameters.
Body
Every field is optional. Only the fields you send are changed. email is not updatable: it identifies the login and is owned by the identity provider.
Display name. Written to the linked user account, so it comes back as appUser.name rather than on the membership.
1Role the user carries.
admin grants everything. custom follows roleId.
admin, custom Person record to link this user to. Pass null to unlink. Write-only — it is stored on the person, not on the membership.
Response
The updated users.