Fasting/detox

Just wondering if anyone has tried a water fast or detox while breastfeeding ? I’m wanting to do a 5 day water fast but only if what my body rids itself of doesn’t affect my breast milk