Hello,
"Ich danke Ihnen für Ihre Antwort" would be correct.
"Sich bedanken" is a reflexive verb. If you want to thank somebody using "bedanken" it's written like that: "Ich bedanke mich bei Ihnen". So after "bedanke" you need the "mich" additionally here.