To detach an interface from an instance, use the openstack server remove port or openstack server remove fixed ip commands, as shown here:
openstack server remove port <server> <port>
openstack server remove fixed ip <server> <ip-address>
Interfaces detached from instances are removed completely from the Neutron port database.
Take caution when removing interfaces from running instances, as it may cause unexpected behavior within the instance.