set_password

This method changes the password associated with a user.

Parameters

string method (required) set_password
string api_key (required) API key assigned to your account.
string username (required) Valid username that has been previously registered.
string password (required) SHA/1 encoded password with the prefix "sha1:" - see example below.

Sample password

 
sha1:f01e86be4829e2764ce55284c80d32cefd08fd78
			

Result explanation

array userid JSON array containing the userid of the user associated with username.

Errors

Missing method Method is not specified in the request.
Missing API key API key is missing in the request.
Invalid API key API key not accepted.
Missing username Username is missing in the request.
Missing password Password is missing in the request.
User not found There is no registered user for 'username'.