Auth - Deactivate

/auth/deactivate/{username}/{password}

Turns off the given users account so they can no longer log in.

Authentication

Required, see Auth - Login, must come from ikanow.com website on Saas, or must be admin on deployed version

Parameters

user (required)
username of account you want to deactivate

aduser (required)
admin username required to login

adpass (required)
admin password required to login

Example

http://infinite.ikanow.com/api/auth/deactivate?user=bob@ikanow.com&aduser=admin@ikanow.com&adpass=FyrA89j8fR5BJjekoKdGD%2Db83hV3sj48H4wAu3DR6c%3D

Example Response
{
      response: {
          action: "Deactivate Account"
          success: true
          message: "Account deactivated successfully"
          time: 91
      }

}