Change password
POST
https://app.speybooks.com/api/v1/auth/passwordChange the authenticated user's password. The current password is required and verified. On success, every outstanding refresh token is invalidated, so other sessions must log in again. The new password must be at least 8 characters and contain at least one letter and one number.
Body parameters
currentPasswordstringrequiredCurrent account password for verification.
newPasswordstringrequiredResponse
200Password changed. All existing refresh tokens are invalidated.
Error codes
400New password does not meet requirements.
401Current password is incorrect.