Page tree




In This Document 


Was this document useful? 
Your Rating:
Results:
1 Star2 Star3 Star4 Star5 Star
2 rates


Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.



Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Reset User Password API resets a user's password.  

You can use the Get Users API to find the user ID (id).

You can use the Get Accounts API to find the account ID (id)

Sample request

POST https://api.armor.com/users/resetpassword
{
  "password":"y+9:_(Z9n!T^v']T",
  "oldPassword":"H\r*saE'-C&/dM8f",
  "email":"john.smith@gmail.com",
  "id":200,
  "accountId":50
}  

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/accountsPOST

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
passwordNew PasswordStringRequiredy+9:_(Z9n!T^v']T
oldPasswordOld PasswordStringRequiredH\r*saE'-C&/dM8f
emailEmail addressStringRequiredjohn.smith@gmail.com
idThe ID of the userIntegerRequired200
accountIdThe ID of the accountIntegerRequired50



Sample return

StatusResponse
200
true