I have a "node_view" panel pane, with a few variants.
Say a variant called node_view_panel_context_9
, and I would like to delete this variant programmatically using code (from a hook_update_N hook to be specific).
What are the correct API functions/methods to use?