/user/password
DevelopingPUT
/user/passwordModified at: 20 days ago
Update the password for the currently-logged-in user.
Request
Body Params application/x-www-form-urlencoded
old_password
string
required
Existing password. Example: MyOldPassword123.
new_password_1
string
required
New password. Example: MyNewPassword456.
new_password_2
string
required
Confirmation of new password. Example: MyNewPassword456.
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": 1657644228,
"created_string": "Tue 12 Jul 2022 @ 16:43 (UTC)",
"duration": 0.239,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 3576,
"session_id": "1dedbf232bc104b6087327016c50ba45",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": true,
"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": "OK"
}
}
Last modified: 20 days ago