Skip to main content
Update a user

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.

Path Parameters

id
string
required

Username of the account to update.

Minimum string length: 1
Pattern: ^[A-Za-z0-9.@_+-]+$
Example:

"john.doe+member@example.com"

Query Parameters

disableActiveTokens
boolean

Whether the person is signed out of their sessions at the same time, so that whoever is working as them has to sign in again. The caller's own session is left alone.

version
integer

Version the account is expected to be at, as the account itself reports it. Sent, a change that came in meanwhile is refused instead of being overwritten; left out, the update simply wins.

Required range: x >= 0
Example:

5

Body

application/json
allowBiometricSignature
boolean

Whether the person may capture a signature on a signature pad.

authenticationFactors
string[]

Second factors the account signs in with. The list replaces whatever was set before, and the SMS factor cannot be kept on an account without a phone number.

autoTimezone
boolean

Whether the timezone is taken from the browser at every sign-in instead of from timezone.

company
string | null

Employer to show in the person's profile and to fill a company field on a document with.

Example:

"Example Ltd."

configuration
object

The person's own settings - language, delegation, notification channels, profile picture and how they left the interface.

customFields
object

Extra profile details the tenant keeps about its people, as plain name and value.

Example:
dateformat
string | null

How dates are written for the person, as a Luxon format pattern. Cleared, the tenant's own setting applies again.

Example:

"dd/MM/yyyy"

defaultStamp
string | null

Stamp to offer the person first when they stamp a document. It has to be one of their own stamps; send an empty value to leave them without a default.

filters
object[] | null

Searches saved for the person. The list replaces whatever was saved before.

firstDayOfWeek
integer

Day the person's weeks start on in a calendar, counted from Monday as 1 through to Sunday as 7.

Example:

1

fullname
string

Name the person is shown under - in notifications, in mentions, in the appearance of their signature and in exported files.

Example:

"John Doe"

group
string[]

Groups the account is to belong to. The list replaces the memberships it had, and since everything the person may do follows from it, sending it wrong is what takes their permissions away. A group has to exist, has to lie inside the same organization, and only one group of each kind - organization, permission profile, settings - may be given.

Example:
hiddenStorageServices
string[] | null

External storage services the person has hidden from their own view of the application.

lastReleaseAnnouncementSeen
string | null

Version of the release announcement the person has already been shown, so that the same one is not offered twice.

Example:

"26.1.0"

marketing
boolean

Whether the person agreed to be sent marketing messages.

organization
string | null

Organization the account belongs to, named by the identifier of its organization group. Only a global administrator may name one other than their own, and every group given alongside it has to belong to that same organization.

password
string | null

New password for the account. The old one is not asked for, and the new one is refused when it is not strong enough for the tenant.

Maximum string length: 128
Example:

"SecurePassword123"

phone
string | null

Phone number where a one-time code is sent. It cannot be taken away while the account signs in with the SMS factor.

Pattern: ^\+?[1-9]\d{1,14}$
Example:

"+493012345678"

role
string | null

Job title of the person, kept as free text. It is descriptive only and grants no permissions.

Example:

"Account Manager"

status
enum<string> | null

State to put the account into. Suspending an account keeps everything it owns but stops the person from signing in; asking for a password change lets them in only to set a new one. An account cannot be deleted this way, nor moved back to waiting for activation.

Available options:
null,
active,
password_change_requested,
suspended,
newly_created
termsAccepted
boolean

Whether the person has accepted the terms and conditions.

timeformat
string | null

How times are written for the person, as a Luxon format pattern. Cleared, the tenant's own setting applies again.

Example:

"h:mm a"

timezone
string | null

Timezone the person's dates and times are shown in, as an IANA name. It is overwritten from the browser while autoTimezone is on.

Example:

"Europe/Prague"

Response

The account was updated.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"