> ## Documentation Index
> Fetch the complete documentation index at: https://help.cryptolens.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Reset Password Token

> This method allows you to retrieve the password reset token that you can use when calling Change Password method. Please note that calling this method requires a UserAuthAdmin token.

This method allows you to retrieve the password reset token that you can use when calling [Change Password](/api-reference/generated/ChangePassword) method.
Please note that calling this method requires a UserAuthAdmin token.

This method is accessed by [https://api.cryptolens.io/api/userauth/ResetPasswordToken](https://api.cryptolens.io/api/userauth/ResetPasswordToken)

### Parameters

| **Parameter** | **Description** | **Remarks** |
| - | - | - |
| Username | The username. | required |
| v | Method version. | optional. by default, it's 1. |

### Results

| **Parameter** | **Description** | **Remarks** |
| - | - | - |
| PasswordResetToken | The password reset token. | always returned |
| Result | This is either **0**(=success) or **1**(=error). | always returned |
| Message | The message that provides additional information about the result. | always returned. |

### Example results

```text theme={null}
{"result":0,"message":""}
```

### Errors

| **Error** |
| - |
| Access denied. |
| The input parameters were incorrect. |
| No username supplied. |
| Could not generate the password reset token. |
