ChangePassword

From Gvp-public
Jump to navigation Jump to search

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


See also