Change password

POSThttps://app.speybooks.com/api/v1/auth/password

Change 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

currentPasswordstringrequired
Current account password for verification.
newPasswordstringrequired
min length: 8

Response

200Password changed. All existing refresh tokens are invalidated.

Error codes

400New password does not meet requirements.
401Current password is incorrect.