Reset Password
API to reset password of MirrorFly account. Only administrators have the authority to reset user passwords. Admins cannot reset passwords for other admins for security reasons. If you have any concerns, please contact MirrorFly support.
{api-base-url}
can be obtained from the MirrorFly console.
#
HTTP request#
Request ParamsParam | DataType | Required | Description |
---|---|---|---|
userId | String | Yes | User Id whose password needs to be reset |
deviceId | String | No | Device Id to fetch the user details |
deviceType | String | Yes | Device Type to validate the device. Must be android/ios/web |
#
ResponsesIf successful, this action returns a new user password in the response body.
#
ErrorIn the case of an error, an error object like below is returned. When the token passed in Headers is not given or expired
In the case of an admin tries to reset another admin password
In the case of a Bad Request, an error message is returned