Open topic with navigation

# Delete a Database and All its Documents

You can delete an IDOL Server 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 Server database and all the documents that it contains by sending a `DREREMOVEDBASE` action (case sensitive) from your Web browser:

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

where:

`IDOLhost` | is the IP address or host name of the machine on which IDOL Server is installed.
`indexPort` | is the IDOL Server index port (specified as `IndexPort` in the `[Server]` section of the IDOL Server 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 Server 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.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm