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.

Required Permissions
Any authenticated user.

Path parameters

accountIdUUIDRequired
The id of the account.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
emailstring or nullOptional
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 null
The email of the account.
firstNamestring or null
The first name of the account.
lastNamestring or null
The last name of the account.
languagestring or null

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

timezonestring or null
The timezone of the account. The format of the timezone is the IANA standard.
mfaEnabledboolean or null
Whether MFA is enabled for the account.
idUUID or null
The id of the account.
passwordIsAutoGeneratedboolean or null
Whether the password is generated by awork.
emailConfirmedboolean or null
Whether the email has been confirmed by the user.
externalAccountslist of objects or null
The list of connected social providers.
mfaProviderslist of strings or null
The enabled MFA providers for the account. Currently we support "Email" and "Authenticator".
passwordlessEnabledboolean or null
Whether the account has passwordless login enabled.