IDOL View Component 12.13

# Delete a Database and All its Documents

You can delete an IDOL Content component database and all the documents that it contains either by sending a `DREREMOVEDBASE` action, or by using the IDOL Admin interface.

## Delete a Database and All its Documents by Sending an Action

You can delete an IDOL Content component database and all the documents that it contains by sending a `DREREMOVEDBASE` action (case sensitive) from your Web browser:

    http://ContentHost:indexPort/DREREMOVEDBASE?DREDbName=databaseName

where:

`ContentHost` | is the IP address or host name of the machine on which the IDOL Content component is installed.
`indexPort` | is the IDOL Content component index port (specified as `IndexPort` in the `[Server]` section of the IDOL Content component configuration file).
`databaseName` | is the name of the database that you want to delete. The documents in this database are deleted as well.

For example:

    http://MyHost:20001/DREREMOVEDBASE?DREDbName=Archive

This action uses port `20001` to delete the `Archive` database and all documents that it contains from the IDOL Content component on the machine with host name `MyHost`.

NOTE: This index action does not complete if the configuration file is read-only.

## Delete a Database and All its Documents by using IDOL Admin

Use the following procedure to delete a database and all its documents by using the IDOL Admin interface.

To delete a database and all its documents by using IDOL Admin

1. In the Control menu, click Databases.

2. In the Database Control column, click next to the database that you want to delete.

   The Delete Database dialog box opens.

3. Click Delete.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL View Component 12.13

Topic Title: Delete a Database and All its Documents