UpdateEmailIdentityPassword
Updates the password associated with the user's email identity.
Service | Operation |
---|---|
identity | UPDATE_EMAIL_IDENTITY_PASSWORD |
Method Parameters
Parameter | Description |
---|---|
oldPassword | The current password associated with the user's email identity. |
newPassword | The new password to associate with the user's email identity. |
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 oldPassword = "my-old-password";
var newPassword = "my-new-password";
var identityProxy = bridge.getIdentityServiceProxy();
var postResult = identityProxy.updateEmailIdentityPassword(oldPassword, newPassword);
if (postResult.status == 200) {
// Success!
}
{
"service": "identity",
"operation": "UPDATE_EMAIL_IDENTITY_PASSWORD",
"data":
{
"oldPassword": "my-old-password",
"newPassword": "my-new-password"
}
}
JSON Response
{
"status" : 200,
"data" : {}
}