no ip http server

This command disables user access to the switch through the web interface.

Format no ip http server
Mode Privileged EXEC