I wanted to delete record(s) by IP address.
I know how to delete A record by name:
curl -X PATCH --data '{"rrsets": [{"changetype": "DELETE", "type": "A", "name": "test.fqdn."}]}' -H 'X-API-Key: secret' http://127.0.0.1:8081/api/v1/servers/localhost/zones/zonename
Is the way to do this by IP address?
Simple answer: not support.
Long answer:
Based on rrset doc, DELETE only supports name.
Here is the script to test