PUT /admin/users/{user_id}/password
new_password
: string, requirednew_password_again
: string, requiredPUT /api/v1/admin/users/18/password HTTP/1.1
Host: tph.io
X-Token: c9c0a840-b5f1-4e0e-84da-e8a4eedfc63b
Content-Type: application/json
{
"new_password": "newpassword123",
"new_password_again": "newpassword123"
}
success
: boolmessages
: stringdata
: object
data
: object
id
: intfirst_name
: stringlast_name
: stringemail
: stringtelephone_number
: stringmobile_number
: stringis_active
: boolis_enabled
: boollast_login
: string ("2020-12-31 00:00:00"
)created_at
: string ("2020-12-31 00:00:00+00:00"
){
"success":true,
"messages":"Password updated.",
"data":{
"data":{
"id":18,
"first_name":"Betty",
"last_name":"Customer",
"email":"bettycustomer@example.com",
"telephone_number":null,
"mobile_number":null,
"is_active":true,
"is_enabled":true,
"last_login":null,
"created_at":"2018-04-27T16:25:20+00:00"
}
}
}