We investigate the influence of dimensionality of a sample on the properties of magnetic dipolar soft spheres. Molecular dynamics simulations and diagram expansion are employed to analyze the pressure and microscopic structure of model monodisperse magnetic fluids in a bulk and in a monolayer. We found that, for a broad range of densities and dipolar interaction strengths, strong geometrical confinement weakens the influence of the dipole-dipole interaction on the pressure and, as a result, steric repulsion of dipolar particles provides the main contribution to the thermodynamic properties of ferrofluids in strong confinement.