Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

/social/person/update/password/{id}/{password}

Changes  a users password.

Authentication

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

Arguments

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

password (required)
New 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
{
    "response": {
        "action": "WP Update User",
        "success": true,
        "time": 0,
		"message": "User Updated Successfully"
    }
}
  • No labels