How to Change a Technician's Password
Change the password of a technician.
Why would you do this? In case a technician forgets his password you can easily change that with Rescue API.
-
Log in if you have not done that already.
Account holders log in by using the logIn API method.
- Using HTTP GET
request:
https://secure.logmeinrescue.com/API/login.aspx?email=some@email.com &pwd=secretPassword
- Using HTTP POST
request:
<form method="post" action="https://secure.logmeinrescue.com/API/login.aspx"> <input name="email" value="some@email.com"> <input name="pwd" value="secretPassword"> </form>
Response: OK
- Using HTTP GET
request:
-
Change the password of the technician.
Use the setUser_v2 API method to generate a report.
- Using HTTP GET
request:
https://secure.logmeinrescue.com/API/setUser.aspx?node=337366&name=John Doe &nick=JDoe&email=jdoe@company.com&ssoid=123456&pwd=secretPassword &confpwd=secretPassword&oldpwd=oldPassword&status=enabled&description=Admin &addons=true&rpataddon=false
- Using HTTP POST
request:
<form method="post" action="https://secure.logmeinrescue.com/API/setUser.aspx"> <input name="node" value="337366"> <input name="name" value="John Doe"> <input name="nick" value="JDoe"> <input name="email" value="jdoe@company.com"> <input name="ssoid" value="123456"> <input name="pwd" value="secretPassword"> <input name="confpwd" value="secretPassword"> <input name="oldpwd" value="oldPassword"> <input name="status" value="enabled"> <input name="description" value="Admin"> <input name="addons" value="true"> <input name="rpataddon" value="false"> </form>
Response: OK
The password of the technician has been changed from oldPassword to secretPassword.
- Using HTTP GET
request:
Here is a complete example for checking technician availability:
- With HTTP GET
https://secure.logmeinrescue.com/API/login.aspx?email=some@email.com &pwd=secretPassword https://secure.logmeinrescue.com/API/setUser.aspx?node=337366&name=John Doe &nick=JDoe &email=jdoe@company.com&ssoid=123456&pwd=secretPassword&confpwd=secretPassword &oldpwd=oldPassword&status=enabled&description=Admin&addons=true&rpataddon=false
- With HTTP POST
<form method="post" action="https://secure.logmeinrescue.com/API/login.aspx"> <input name="email" value="some@email.com"> <input name="pwd" value="secretPassword"> </form <form method="post" action="https://secure.logmeinrescue.com/API/setUser.aspx"> <input name="node" value="337366"> <input name="name" value="John Doe"> <input name="nick" value="JDoe"> <input name="email" value="jdoe@company.com"> <input name="ssoid" value="123456"> <input name="pwd" value="secretPassword"> <input name="confpwd" value="secretPassword"> <input name="oldpwd" value="oldPassword"> <input name="status" value="enabled"> <input name="description" value="Admin"> <input name="addons" value="true"> <input name="rpataddon" value="false"> </form>