v1
latestOpenAPI 3.1.02026-07-2422707.0 MBUpdate the password of a guest using OTP
This API helps you to update a guest's password by using the one-time password (OTP) that was sent to the guest's registered email ID after resetting the password.
To invoke this API, you must specify a unique identifier of the guest in the request as guest_id.
You must also provide in the request body the verification_code and verification_id details that the guest received after resetting the password. After the verification_code and verification_id details have been successfully validated, the guest's password is updated to the new_password value.
This API either returns a success parameter that indicates that the password-updation process was successful or returns an error object if there is any error.
Path parameters
Unique 32-character identifier of the guest whose password is to be updated.
Request body
Response
200
Example response
{
"success": true
}