You can't, if you wish to change the location of a room you must delete it and place a new one(not necessarily in that order, though it's marginally more cost effective) note that if it's surrounded by separate rooms you'd have to delete one of the adjacent rooms before you'll be able to delete the room in question
Tl;Dr it costs a lot of caps to correct mistakes made when building your vault