Zonelock Down Update

We have been going through the setup of Ansible to make updating of our zone lockdown rules much easier.

As we have multiple zones doing this manually is really painful.

However what I have found in testing is that when using the Update zone lockdown Cloudflare API v4 Documentation it doesn’t update the rule but rather replace the existing.

Has anyone else managed to get it to just update and existing rule or do we need to retrieve the existing list append our new ip range and then overwrite the existing rule?