Difference between revisions of "ChangePassword"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| Description=Change the password from the currently logged user. It only can be accessed by logged user. |Parameters= {{Api_Parameter| ParamName=token |Pa...") |
|||
Line 28: | Line 28: | ||
|Returns= | |Returns= | ||
− | Returns a JSON object containing | + | Returns a JSON object containing a status true or false if the change was a successfully |
'''Example:''' | '''Example:''' |
Latest revision as of 19:08, 16 July 2014
Description
Change the password from the currently logged user.
It only can be accessed by logged user.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- currentPassword (String, required)
- The currently password for the token.
- newPassword (String, required)
- The new password to be set for the currently user logged.
Returns
Returns a JSON object containing a status true or false if the change was a successfully
Example:
{
- "StatusCode": 30,
- "Severity": 3,
- "StatusMessage": "Error inesperado (error 30).",
- "Content": false
}
Exceptions
- None
Caching
This method is not cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial method design | Harley Cabral |