Deleting a Private View

Delete a private domain name service (DNS) view and its associated private zones.

See Private DNS and Private Views for a feature overview and more information.

Note

Protected private zones are managed by other OCI services, so you can't delete them directly. For example, if a protected zone was created because a subnet was created, then deleting the subnet would delete the zone.

For general service information, see the DNS service overview.

Caution

Deletion removes any associated private zones.
    1. On the Private views list page, find the private view you want to work with. If you need help finding the list page, see Listing Views.
    2. From the Actions menu (three dots) for the private view you want to delete, select Delete.
    3. In the Delete DNS private view dialog box, review the private view and the zones to be deleted.
    4. Enter DELETE to confirm the deletion.
    5. Select Delete all.
  • Use the view delete command and required parameters to delete a view and its associated zones:

    oci dns view delete --view-id view_OCID ... [OPTIONS]

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

  • Run the DeleteView operation to delete a view and its associated zones.