Skip to main content
Update users in bulk

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
data
object

Values to write onto every listed account. Only what is present is touched; the fields that belong to one person alone - the username, the e-mail address, the password, the groups - cannot be set this way.

disableActiveTokens
boolean
default:false

Whether the people concerned are signed out of their sessions at the same time - what to reach for when suspending accounts. The caller's own session is left alone.

Example:

false

users
string[]

Usernames of the accounts to update, all of them receiving the same values.

Required array length: 1 - 10000 elements
Minimum string length: 1
Pattern: ^[A-Za-z0-9.@_+-]+$

Response

Reports the outcome per account; individual accounts may still have failed, so read the per-item results.

count
integer
required

Number of items the request processed, successful and failed alike.

Example:

22

errors
boolean
required

Whether any item failed. Check it before treating the call as a clean success - the request itself answers 200 even when individual items did not go through.

Example:

false

items
object[]

Per-item outcomes. Endpoints report the failed items here; some also list the successful ones, so read each item's own status rather than inferring it from being listed.