Deleting a Set of DHCP Options

On Compute Cloud@Customer, you can delete a set of DHCP options as long as the DHCP options are not assigned to any subnet.

To unassign the DHCP options set from a subnet, update the subnet to assign a different set of DHCP options. See Editing a Subnet. You can't delete a VCN default set of DHCP options.

    1. In the Compute Cloud@Customer Console navigation menu, click Networking, then click Virtual Cloud Networks.

    2. At the top of the page, select the compartment that contains the VCN.
    3. Click the name of the VCN for which you want to delete a DHCP Options set.

    4. Under Resources, click DHCP Options.

    5. Click the Actions menu (An image of the three dot icon.) for the set you want to delete, then click Delete.
    6. Confirm the deletion.

  • Use the oci network dhcp-options delete command and required parameters to delete the specified set of DHCP options, but only if it’s not associated with a subnet.

    oci network dhcp-options delete --dhcp-id ocid1.dhcpoptions.unique_ID [OPTIONS]

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use the DeleteDhcpOptions operation to delete the specified set of DHCP options, but only if it’s not associated with a subnet.

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.