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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

How to reset Password for users using Administrator Appkey

No ratings

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.

Comments

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

Version history
Last update:
‎Feb 28, 2017 02:35 AM
Updated by:
Labels (1)
Tags (1)