In addition to the previously answered Exclude Region"Exclude Region" plugin for OctoPrint, the Cancel Object"Cancel Object" plugin for OctoPrint also works excellently.
Cancel single objects during a print based on code comment lines
This plugin allows the user to cancel single objects during a print while allowing the remaining objects to print normally. Instructions for use with compatible slicers are provided on the plugin’s GitHub Homepage.
Source: https://plugins.octoprint.org/plugins/cancelobject/OctoPrint-Cancelobject