Skip to main content

SetNewPassword

Set new password

Description

  • Password changes can be made without logging in.
  • You need an ID for password initialization in order to make the change.
  • You can use your Sendgrid email template by specifying the email_templates_id issued by Hexabase.

Method

PUT

Request URL Format

/api/v0/users/password/forgot

Payload

{
"new_password":"", // Required New Password, Example:test
"confirm_password":"", // Required Confirm Password, Example:test This value must be the same as the newly created value.
"id":"", // Required Put the information embedded inside the email link after sending the API to start password initialization here.
"send_password_to_email": true, // Send a registration completion email when the API is executed. Default false
"sender_address": "[email protected]", // Specify if you want to change the "from" of the registration completion email to any value.
"email_templates_id" : "5fb205b03545feade82dxxxx" // Set this option if you wish to use the Sendgrid template for customers when sending registration completion emails. Please contact Hexabase in advance and specify the email setup ID issued by Hexabase. If omitted, Hexabase's default registration completion screen will be used.
}

Request URL Sample

PUT https://api.xxx.com/api/v0/users/password/forgot

Response Sample

None