How to remove variable 'override' in an optimization setup via scripting?

Hello,

If I have a Circuit Optimization setup in which an optimization variable has the override checkbox checked, I am not able to remove this override via scripting.
I cannot find any information on how to do this in the documentation, and if I am to record a script of myself unchecking the override box, there is nothing recorded for that event - if I play the recorded script it does not uncheck the override box.

Without deleting the optimization setup and creating a new one without specifying variable details (that appears to trigger the override checkbox), how can I achieve the effect of unchecking the override box?

Using AEDT 2024R2.