Skip to main content

triggerPasswordSendInitEmailEvent

Trigger password initialization email for new users.

Sends a password setup email to newly created users who haven't set their password yet. The email contains a secure link that allows the user to set their initial password.

Possible errors:

  • TRIGGER_SEND_PASSWORD_INIT_EVENT_ERROR: Failed to trigger password initialization email

AUTH: Role=[user.OWNER]

triggerPasswordSendInitEmailEvent(
input: PasswordRecoveryLinkInput!
): String!

Arguments​

triggerPasswordSendInitEmailEvent.input ● PasswordRecoveryLinkInput! non-null input​

Password initialization email parameters including user email and optional redirect URL.

Contains the email address of the new user and optional customization parameters for the password setup process.

Type​

String scalar​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.