Bleaching hair while pregnant?

I have read a lot online saying you can and I asked my ob if I can color my hair but I guess I didn’t specify and ask if it’s safe to bleach my hair. I’ve seen some pregnant women do it on YouTube but didn’t know if it was safe to or not?