It would be nice to have the option of using the same safeguard of commit-confirm via the api in automation tasks or in my case configuration via IAC tools such, as terraform.
Maybe some new endpoints would be a good solution to this, such, as /configure-confirm, or another attribute in the payload setting the confirm condition.