Is it safe for me to do a 24 hour water fast?

I want to fully detox my body because lately I've been eating a lot and it's been rubbish junk food. So I'm planning on just drinking plain lemon water and green tea just for a full day. Is it safe?
17 answers 17