auth-controller
Change password for current User (changePassword)
Change the password for the User which credentials are used to perform this REST API call. Be aware that previously generated JWT tokens will be still valid until they expire.
post/api/auth/changePassword
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"currentPassword": "OldPassword",
"newPassword": "NewPassword"
}Response
OK
Example response
{
"token": "AAB254FF67D..",
"refreshToken": "AAB254FF67D.."
}Changes
No recorded changes to this operation across all 2 revisions of this API.