Skip to main content

CHANGE PASSWORD API

This API allows the dealer user to update their account password by providing the old password, along with the new password.

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringSpecifies the media type of the request payloadapplication/json
x-api-keystringAPI key used to authorize the request{{x-api-key}}

📑 Request Body Parameters

FieldTypeRequiredDescriptionExample / Enum
user_idstringYesUser ID (UCC)"DL12345"
old_passwordstringYesExisting password for validation"oldPass123"
new_passwordstringYesNew password to be set"newPass123"
api_keystringYesAPI key provided by SynapseWave"xyz-api-key"
sourcestringYesSource of the request"DEALERAPI"

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code to user request"s-101"
messagestringSuccess message"Password changed successfully"