Removing Unwanted _ui_ Objects Using the REST API
If you make changes with the Cisco NX-OS-Style CLI before using the Cisco APIC GUI, and objects appear in the Cisco APIC GUI (with names prepended with _ui_), these objects can be removed by performing a REST API request to the API, containing the following:
The Class name, for example infraAccPortGrp
The Dn attribute, for example dn="uni/infra/funcprof/accportgrp-__ui_l101_eth1--31"
The Status attribute set to status="deleted"
Perform the POST to the API with the following steps:
Log on to a user account with write access to the object to be removed.
Send a POST to the API such as the following example: