In the UI, the “lock to stop auto publishing” is set at the site level, and has the impact of locking to whichever deploy is published (even if the published deploy is not the most recent).
I’m looking at the documentation - and it isn’t jumping out at me from the sample response - how to retrieve the published deploy_id from that endpoint.
Thanks - now got it working, along with a few other endpoints.
The one I could never figure out though was toggling on analytics. I tried a few variations from the patch updateSite endpoint - but nothing seemed to stick.