v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
accounts

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>

put/accounts/{accountId}

Path parameters

accountIdstring uuid required

The id of the account.

Headers

Authorizationstring required

Bearer authentication

Request body

emailstring email nullable

The email of the account.

firstNamestring nullable

The first name of the account.

lastNamestring nullable

The last name of the account.

languagestring nullable

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

timezonestring nullable

The timezone of the account. The format of the timezone is the IANA standard.

mfaEnabledboolean

Whether MFA is enabled for the account.

Response

OK

emailstring email nullable

The email of the account.

firstNamestring nullable

The first name of the account.

lastNamestring nullable

The last name of the account.

languagestring nullable

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

timezonestring nullable

The timezone of the account. The format of the timezone is the IANA standard.

mfaEnabledboolean

Whether MFA is enabled for the account.

idstring uuid

The id of the account.

passwordIsAutoGeneratedboolean

Whether the password is generated by awork.

emailConfirmedboolean

Whether the email has been confirmed by the user.

mfaProvidersstring[] nullable

The enabled MFA providers for the account. Currently we support "Email" and "Authenticator".

passwordlessEnabledboolean

Whether the account has passwordless login enabled.