You can remove a port from the Ports and Interfaces page, but this is not recommended. Removing the port deletes the object reference to the port in the IP, but the port still exists in the HDL. The end result would be an undriven or unconnected port when the IP is customized.
To remove a port, select one or more ports in the Ports and Interfaces page, right-click and click Remove Port.