LogMeIn Rescue API User Guide

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.

  1. Generate an account holder authentication code (authcode).

    Account holders generate authcodes by using the requestAuthCode API method.

    • Using HTTP GET request:
      https://secure.logmeinrescue.com/API/requestAuthCode.aspx?email=some@email.com&
      pwd=secretPassword
    • Using HTTP POST request:
      <form method="post" action="https://secure.logmeinrescue.com/API/requestAuthCode.aspx">
              <input name="email" value="some@email.com">
              <input name="pwd" value="secretPassword">
      </form>

    Response: OK AUTHCODE:4ahx...80u0

  2. 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&authcode=4ahx...80u0
    • 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">
              <input name="authcode" value="4ahx...80u0">
      </form>

    Response: OK

    The password of the technician has been changed from oldPassword to secretPassword.