Reset password for a user.
Request
HTTP request
POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/resetPassword
Request body
In the request body, supply data with the following structure:
{ "oobCode": string, "newPassword": string, "oldPassword": string, "email": string }
Property name | Value | Description | Notes |
---|---|---|---|
oobCode |
string |
The confirmation code. | |
newPassword |
string |
The new password inputted by the user. | |
oldPassword |
string |
The old password inputted by the user. | |
email |
string |
The email address of the user. |
Response
If successful, this method returns a response body with the following structure:
{ "kind": "identitytoolkit#ResetPasswordResponse", "email": string }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
The fixed string "identitytoolkit#ResetPasswordResponse". | |
email |
string |
The user's email. |