Is there an API I can call to modify which conditions are selected for a publication?

I'd like to add and remove ishconditions from a publication. Is there an API I can call to do that?