post https://{application_vanity_domain}/api/v1/password-reset/verify-code
Verifies the OTP that was sent to the user's email as part of a password reset workflow. If the verificationCode is invalid, a 400 response will be returned containing a Constraint Violations Error like the following:
{
"type": "constraint_violations_error",
"code": "message_body_constraint_violations",
"message": "Field violations were detected in the request body",
"ticket": "jgqgau2nj4eobeaje6m4jhoop8",
"violations": {
"emailAuthCode": [{
"verificationCode": "invalid_verification_code"
}]
}
}Required Permissions
Below is the list of required permissions needed to interact with this API. For each permission, the allowed permission boundaries are also specified.
| Permission | Boundary | Description |
|---|---|---|
| password-reset-workflow:execute | Application | The subject can perform this operation for requests associated with the application to which the subject belongs. |