Reset password
Changed onReset the password for the currently authenticated user.
Overview:
Allows a logged-in user to change their password by providing the current password and a new password.
Order of checks: the access token is read before the body, so a request without an Authorization header answers 400 whatever its body holds. Body fields other than the three below are dropped by the validator, and the query string is not read.
Effect on sessions: the change ends refresh tokens issued before it. The response carries a new access token.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/userAccount/password/reset
- AuthHTTP bearer
Request body
Response
Password reset successfully - returns new access token
Example response
{
"data": "password reset"
}Changes
- breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - info
added the media type
application/x-www-form-urlencodedto the request body
- breaking
- info
added the non-success response with the status
- info