Simplify mkdir endpoint