cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset Password for users using Administrator Appkey

ankigupta
5-Regular Member

How to reset Password for users using Administrator Appkey

1. Use Postman or any other software for Rest Api call to the ThingWorx.

2. Create a query in Postman with following parameters:

  1. Type: POST
  2. URL: https://<IP>:<PORT>/Thingworx/Users/<UserName>/Services/AssignNewPassword
    • <IP>: IP of the server where ThingWorx is installed.
    • <PORT>: Port on which ThingWorx is running (if required).
    • <UserName>: User Name of the user whom Password is to be reset.
  3. Headers:
    • appkey : Your Administrator App key or App key of user having Permission for AssignNewPassword Service for the user.
    • Content-Type: application/json
  4. Body:
    • {

          "newPassword":"NewPasswordHere",

          "newPasswordConfirm":"NewPasswordHere"

      }

3. Send the Query.

4. Login using new Password.

2 REPLIES 2

Tried changing the password using above method but getting below error


"Only Administrators and Security Administrators Can Perform This Function"

Thank you. It's working. I reset the password using with valid Appkey

Announcements