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
accountId
The id of the account.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
email
The email of the account.
firstName
The first name of the account.
lastName
The last name of the account.
language
The language of the account, as a Language Culture Name (de-DE).
timezone
The timezone of the account.
The format of the timezone is the IANA standard.
mfaEnabled
Whether MFA is enabled for the account.
Response
OK
email
The email of the account.
firstName
The first name of the account.
lastName
The last name of the account.
language
The language of the account, as a Language Culture Name (de-DE).
timezone
The timezone of the account.
The format of the timezone is the IANA standard.
mfaEnabled
Whether MFA is enabled for the account.
id
The id of the account.
passwordIsAutoGenerated
Whether the password is generated by awork.
emailConfirmed
Whether the email has been confirmed by the user.
externalAccounts
The list of connected social providers.
mfaProviders
The enabled MFA providers for the account.
Currently we support "Email" and "Authenticator".
passwordlessEnabled
Whether the account has passwordless login enabled.