SysSendPasswordResetEmail
Triggers the sending of a password reset email to the specified user. Note that the user must have an email identity attached to their profile.
Service | Operation |
---|---|
user | SYS_SEND_PASSWORD_RESET_EMAIL |
Method Parameters
Parameter | Description |
---|---|
profileId | The profileId of the user to send the password reset email to |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var userProxy = bridge.getUserServiceProxy();
var postResult = userProxy.sysSendPasswordResetEmail(
"aaa-bbb-ccc-ddd" // profileId
);
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": null
}