Skip to main content
Version: 5.7.0

SysSendPasswordResetUniversalIdAdvancedWithExpiry

Triggers the sending of a password reset email to the specified user - but allows the dev to override the email template that will be used. Note that the user must have a universalId identity attached to their profile, and an email address in their contact info. _

Example serviceParams (for Sendgrid dynamic templates):

{
"templateId": "template-id-guid",
"dynamicData": {
"aKey": "aValue"
},
"categories": [
"category1",
"category2"
]
}
ServiceOperation
userSYS_SEND_PASSWORD_RESET_UNIVERSAL_ID_ADVANCED_WITH_EXPIRY

Method Parameters

ParameterDescription
profileIdThe profileId of the user to send the password reset email to
serviceParamsThe service-specific email paramaters
tokenTtlInMinutesThe time-to-live for the password reset url, in minutes.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": null
}