Change Password API
This API endpoint allows a user to change their password by providing their email, old password, and new password. On success, the password is updated for the user account.
- Method: POST
- Endpoint:
/api/api-services/v1/auth-service/change-password
- Returns: Success message on password change
Change Password
POST https://app.brand2social.com/api/api-services/v1/auth-service/change-password
Field | Type | Required | Description |
---|---|---|---|
password | string | Yes | New password |
customer_id | string | Yes | ID of the customer |
curl --location 'https://app.brand2social.com/api/api-services/v1/auth-service/change-password' \
--header 'Content-Type: application/json' \
--data-raw '{
"password":"123456",
"customer_id":"cust_123"
}'
Response
{
"status": "SUCCESS",
"http_code": 200,
"message": "Password changed successfully"
}