DeleteMonitor

[DllImport("winspool.drv", SetLastError = true)]
public static extern bool DeleteMonitor(
   IntPtr pName,
   IntPtr pEnvironment,
   IntPtr pMonitorName
);

Microsoft documentation: Link

Last updated