/login/resetpassword
DevelopingPOST
/login/resetpasswordLast modified: a year ago
If the provided password reset token is valid, this method will reset the corresponding user's password as specified.
Request
Body Params application/x-www-form-urlencoded
token
string
required
Example: 4282250418887cb1c8fc8c3753aef0d4.
new_password_1
string
required
Example: mynewpassword.
new_password_2
string
required
Example: mynewpassword.
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"created_timestamp": 1657035762,
"created_string": "Tue 05 Jul 2022 @ 15:42 (UTC)",
"duration": 0.226,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 1130,
"session_id": "659e8c297cb040430a660b284a50bd21",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": false,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
},
"data": {
"message": "Your password has been reset."
}
}
Last modified: a year ago