Interface

ProfileInitActions

ProfileInitActions

Actions available in the `profile_init` state, the user's account/profile management screen.
Properties:
Name Type Attributes Description
account_delete Action.<null> <optional>
Deletes the current user's account.
continue_to_otp_secret_creation Action.<null> <optional>
Continues to setting up an authenticator app (TOTP) for MFA.
email_create Action.<EmailCreateInputs> <optional>
Adds a new email address to the account.
email_delete Action.<EmailDeleteInputs> <optional>
Removes an email address from the account.
email_verify Action.<EmailVerifyInputs> <optional>
Requests verification of an unverified email address.
email_set_primary Action.<EmailSetPrimaryInputs> <optional>
Sets an email address as the primary one.
otp_secret_delete Action.<null> <optional>
Removes the configured authenticator app (TOTP) secret.
password_create Action.<PasswordInputs> <optional>
Sets a password for the account.
password_update Action.<PasswordInputs> <optional>
Updates the account's existing password.
password_delete Action.<null> <optional>
Removes the account's password.
patch_metadata Action.<PatchMetadataInputs> Updates the user's public/unsafe metadata.
security_key_create Action.<null> <optional>
Starts registering a new hardware security key.
security_key_delete Action.<SecurityKeyDeleteInputs> <optional>
Removes a registered security key.
username_create Action.<UsernameSetInputs> <optional>
Sets a username for the account.
username_delete Action.<null> <optional>
Removes the account's username.
username_update Action.<UsernameSetInputs> <optional>
Updates the account's existing username.
webauthn_credential_create Action.<null> <optional>
Starts registering a new passkey.
webauthn_credential_rename Action.<PasskeyCredentialRenameInputs> <optional>
Renames a registered passkey.
webauthn_credential_delete Action.<PasskeyCredentialDeleteInputs> <optional>
Removes a registered passkey.
webauthn_verify_attestation_response Action.<WebauthnVerifyAttestationResponseInputs> <optional>
Submits the WebAuthn attestation response to complete a passkey/security key registration.
session_delete Action.<SessionDeleteInputs> <optional>
Revokes one of the user's active sessions.
connect_thirdparty_oauth_provider Action.<ThirdpartyOauthInputs> <optional>
Links a third-party OAuth provider to the account.
disconnect_thirdparty_oauth_provider Action.<DisconnectThirdpartyInputs> <optional>
Unlinks a third-party OAuth provider from the account.

View Source lib/flow-api/types/action.ts, line 40