- Introduction
- Changelog Release
- Local Development
- Authentication
- file-controller
- internal-controller
- User
- facebookCallbackUserInfoGET
- updateUserAccountPOST
- deleteAllSessionOfUserDELETE
- getUserBasicInfoGET
- getUserIntroGET
- updateUserIntroPOST
- testGetUserFromFirebaseByEmailGET
- testGetUserFromFirebaseNoPasswordGET
- testGetUserFromFirebasePasswordGET
- getProfilePictureGET
- storeUserFcmTokenPOST
- updateFeedbackAskdoctorGET
- updateUserIntroV2POST
recoverPassword
POST
/recover-password
Authentication
Request
Body Params application/json
code
string
optional
newPassword
string
optional
Example
{
"code": "string",
"newPassword": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/recover-password' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "string",
"newPassword": "string"
}'
Responses
🟢200OK
application/json
Body
data
object (RecoverPasswordRequest)
optional
code
string
optional
newPassword
string
optional
Example
{
"data": {
"code": "string",
"newPassword": "string"
}
}
🟠400Bad Request
🟠401Unauthorized
🔴500Internal Server Error
Modified at 2023-01-25 06:06:06