# Delete a Database and All the Documents that it Contains

The `DREREMOVEDBASE` action allows the DIH to delete an IDOL database and all the documents it contains. Use the following action syntax:

    http://DIHhost:IndexPort/DREREMOVEDBASE?DREDbName=DatabaseName

When you send this action to the DIH instead of to an IDOL Server, note:

- `DIHhost` is the IP address (or name) of the machine on which the DIH is installed, `IndexPort` is the number of the port that you use to send index actions to the DIH, and `DatabaseName` is the name of the database to remove.
- This action removes the database from every child IDOL Server that has a database of the specified name. If all IDOL Servers are identical, all are treated equally. If the IDOL Servers are not all identical, this action might have unintended consequences.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm