parameters visibility and CIDR cannot be updated since it is being referenced by other objects path(s)=[/orgs/default/projects/<VPC-project-name>/vpcs/<VPC-Name>/subnets/<subnet-name>/ip-pools/_static-ipv4--empty/ip-subnets/<UUID>, /orgs/default/projects/<VPC-project-name>/vpcs/<VPC-Name>/subnets/<subnet-name>/ip-pools/_static-ipv4--empty/ip-subnets/<UUID>]
VMware NSX
One of the known causes is that the IPAM cleanup did not proceed correctly because the first subnet creation failed. This results in any follow-up creation call failing.
Workaround:
Try the below API's one after the other independently and see if the IP block in question is removed. DELETE https://<nsx-manager-fqdn>/api/v1/infra/ip-blocks/<IP block name>DELETE https://<nsx-manager-fqdn>/api/v1/infra/ip-blocks/<IP block name>?force=true
If the issue persists even after executing the above API's, please open a case with Broadcom Support Team for further investigation.