Hide window doesn't minimize it

I am using SDL2 window, and I wanted to minimize my window. I have only found the hide api. This hide api does too much. It actually removes the app from the window list and the window is really hidden. Is there somewhere else I should be looking for the minimize functionality?