Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

THIS PAGE STILL NEEDS UPDATED

/social/person/update/password/{

...

id}/{

...

password}
Info

Changes  a users password.

A simple web-based utility is available for managing users.

Authentication

Required, see Auth - Login.  To update a user other than yourself you must be an admin.

Arguments

wpuser id (required)
JSON object ID of wordpress userwpauth a users wordpress account, or a person._id, or their primary email

password (required)
JSON object of wordpress authNew password of user.  This can be SHA-256 hashed already or if it is not, will hash for you.

Example

http://infinite.ikanow.com/api/social/person/update/password/wpid12345/newsecretpassword

Example Response
Info
Code Block
{
    "response": {
        "action": "LoginWP Update User",
        "success": true,
        "time": 0,
		"message": "User Updated Successfully"
    }
}