POST /password/change — Change Password (Logged-in User)activation_code) issued specifically for the change-password flow. If the code is valid and not expired, the user’s password is updated to new_password and takes effect immediately.Authorization: Bearer <access_token>user_id (optional if derived from token)activation_code (required)new_password (required)user_id can be taken from the access token; include it only if your system requires it explicitly.Changes the password for a logged-in user after validating a one-time password-change code.
curl --location --request POST 'https://appfloor.in/auth-service/password/change' \
--header 'Authorization: Bearer <token>' \
--form 'user_id="\"187626754904\""' \
--form 'new_password="\"mypassword\""' \
--form 'activation_code="\"2347\""'{
"error": {
"code": "XF_VALIDATION_ERROR",
"message": "The signup failed or wrong user_id",
"path": "/auth-service/validate/activation/code",
"timestamp": "2026-01-12T08:11:59.993079561Z"
}
}