Updates the account with the specified id.

Updates the account with the specified id. Does not update the external account of the user. Use the 'accounts/connectToSocialAccount' or 'accounts/disconnectToSocialAccount' endpoints instead. If the email of the account is changed, the email will not be changed immediately but a verification email will be sent to the new email address. The email will only be changed after the user has verified the new email address. <Check title="Required Permissions" icon="key">Any authenticated user.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

accountIdstringRequiredformat: "uuid"
The id of the account.

Request

The model to update the account.
emailstring or nullOptionalformat: "email"
The email of the account.
firstNamestring or nullOptional
The first name of the account.
lastNamestring or nullOptional
The last name of the account.
languagestring or nullOptional

The language of the account, as a Language Culture Name (de-DE).

timezonestring or nullOptional
The timezone of the account. The format of the timezone is the IANA standard.
mfaEnabledbooleanOptional
Whether MFA is enabled for the account.

Response

OK
emailstring or nullOptionalformat: "email"
The email of the account.
firstNamestring or nullOptional
The first name of the account.
lastNamestring or nullOptional
The last name of the account.
languagestring or nullOptional

The language of the account, as a Language Culture Name (de-DE).

timezonestring or nullOptional
The timezone of the account. The format of the timezone is the IANA standard.
mfaEnabledbooleanOptional
Whether MFA is enabled for the account.
idstringOptionalformat: "uuid"
The id of the account.
passwordIsAutoGeneratedbooleanOptional
Whether the password is generated by awork.
emailConfirmedbooleanOptional
Whether the email has been confirmed by the user.
externalAccountslist of objects or nullOptional
The list of connected social providers.
mfaProviderslist of strings or nullOptional
The enabled MFA providers for the account. Currently we support "Email" and "Authenticator".
passwordlessEnabledbooleanOptional
Whether the account has passwordless login enabled.