Hi @udo.konstantin
Since You cant find "XXXXXXXXXXXXXXX-apic" policy via the GUI, can You please try to find it in the object store?
Search for:
Class - dbgexpTechSupOnD
Property - dn == uni/fabric/tsod-XXXXXXXXXXXXXXX-apic
If You cant find it, try without the property to see all of your "on demand" exports.
After You locate the actual expoert policy, You can try to delete the object via the API:
bash# curl https://apic_ip/api/node/mo/uni/fabric/tsod-XXXX-apic.json -k -X POST -d '{"dbgexpTechSupOnD":{"attributes":{"dn":"uni/fabric/tsod-XXX-apic", "status": "deleted"}}, "children":[]}}' --cookie "APIC-cookie=api-cookie;APIC-preState=;AuthCookie=" --header "Content-Type: application/json"
*You can get the api cookie from the api requests that you are sending on the browser to the apic, press F12 and search for the cookies on the network requests
You can do the delete request also with POSTMAN and Python with requests module.