Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I replicated on version "NDO": "4.2.2e", "ND": "3.0.1i",ACI 16.0.4cTo remove a single subnet the path should include and extra "/" be schema_object_path = f"/sites/{ndo_site_id}-{template_name}/bds/{bd_name}/subnets/{subnet}/".Example
[
{
...
Please check this documentation detailing the Enforce Domain Validation setting and its benefits.
https://www.cisco.com/c/en/us/support/docs/software/aci-data-center/221206-understand-aci-enforce-domain-validation.html