Change Password

URL:
Method: POST	
https://saasapi.igainapp.in/v1/changepass.php/changepassword
					

Request Parameters

Parameter Type Position # Description
Authorization string Header Required Authorization is the Enrypted Company API KEY
membershipid string Body Required Membership ID
oldpassword string Body Required Old Password
newpassword string Body Required New Password
confirmpassword string Body Required Confirm New Password

Sample Request Body

{								
    "membershipid":"14000000072",
    "oldpassword":"Test@2022",
    "newpassword":"Test@2023",
    "confirmpassword":"Test@2023"
}

Sample Request Response

{
    "errorcode": 1001,
    "message": "Ok"
}

Error Codes

Error Code Description
3121 Required field(s) is missing or empty
2003 Unable to locate membership id
2011 Old password does not match!
3106 New password and Confirm new password does not match
3015 Old Password and New Password are Same
1001 OK