Switch between resizable and fixed window borders

Is there an API for this in SDL2? I looked in SDL_video.h but didn’t find
anything relevant.

If not, is there a technical reason for this?