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 | Type | Description | Example |
|---|
| Content-Type | string | Specifies the media type of the request payload | application/json |
| x-api-key | string | API key used to authorize the request | {{x-api-key}} |
📑 Request Body Parameters
| Field | Type | Required | Description | Example / Enum |
|---|
| user_id | string | Yes | User ID (UCC) | "DL12345" |
| old_password | string | Yes | Existing password for validation | "oldPass123" |
| new_password | string | Yes | New password to be set | "newPass123" |
| api_key | string | Yes | API key provided by SynapseWave | "xyz-api-key" |
| source | string | Yes | Source of the request | "DEALERAPI" |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|
| status | string | Status of API call | "success" |
| code | string | Response code to user request | "s-101" |
| message | string | Success message | "Password changed successfully" |