Skip to main content
PATCH
Update many users

Authorizations

X-API-Key
string
header
required

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.

filter
string

AND/OR filter expression, for example type eq 'phase' and isArchived eq false. Simple equality can also be passed as plain field parameters.

Body

application/json

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.

name
string

Display name. Written to the linked user account, so it comes back as appUser.name rather than on the membership.

Minimum string length: 1
roleId
string<uuid> | null

Role the user carries.

roleType
enum<string>
default:custom

admin grants everything. custom follows roleId.

Available options:
admin,
custom
workerId
string<uuid> | null

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.

values
object[]
required