Product SiteDocumentation Site

13.3.3.  Detach Action

Detach an interface from a network. The network may be identified by id or name.
Example 13.12. Action to deattach a host network interface to a network
POST /rhevm-api/hosts/2ab5e1da-b726-4274-bbf7-0a42b16a0fc3/nics/e8f02fdf-3d7b-4135-86e1-1bf185570cd8/detach HTTP/1.1
Content-type: application/xml

<action>
    <network id="e657d631-657d-42bb-a536-73501a085d85"/>
</action>

Warning

This networking configuration change must be explicitly committed. See Section 13.5.8, “ Commit Network Configuration Action ”.