Updates the account with the specified id.

PUT

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.

Required Permissions: Any authenticated user.

Path parameters

accountIdstringRequired
The id of the account.

Request

This endpoint expects an object.
emailstringOptional
The email of the account.
firstNamestringOptional
The first name of the account.
lastNamestringOptional
The last name of the account.
languagestringOptional
The language of the account, as a Language Culture Name (de-DE).
timezonestringOptional
The timezone of the account. The format of the timezone is the IANA standard.
mfaEnabledbooleanOptional
Whether MFA is enabled for the account.

Response

This endpoint returns an object
emailstringOptional
The email of the account.
firstNamestringOptional
The first name of the account.
lastNamestringOptional
The last name of the account.
languagestringOptional
The language of the account, as a Language Culture Name (de-DE).
timezonestringOptional
The timezone of the account. The format of the timezone is the IANA standard.
mfaEnabledbooleanOptional
Whether MFA is enabled for the account.
idstringOptional
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 objectsOptional
The list of connected social providers.
mfaProviderslist of stringsOptional
The enabled MFA providers for the account. Currently we support "Email" and "Authenticator".