POST
/api/company/forgot-password/resetReset a company user's password
Resets a company user's password using the account email and a new password. Supply newPassword with at least 8 characters; resetToken can be included for the validated-token recovery flow. Use this after completing password recovery verification.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The company account email, new password, and optional reset verification token.
emailstringrequired
The company account's email address in email format.
newPasswordstringrequired
The new password. Must be at least 8 characters.
resetTokenstringoptional
The reset verification token for the token-based recovery flow.
200Returns a success indicator and a message confirming that the password was reset.
messagestringoptional
successbooleanoptional
Error handling
The email and newPassword fields are required, and email must use email format. newPassword must be at least 8 characters; resetToken is optional.