# DREEXPIRE

Allows you to delete or archive documents that have reached a specific age. By default, documents are deleted when they expire. To archive them instead, specify the name of the database to use for archiving in the ExpireIntoDatabase parameter in each of the IDOL Server configuration file database sections.

The date that determines whether a document must be expired can be read from a field in the document or from the expiry time that is set for the database that contains the document. If IDOL Server is unable to determine whether a document must be expired (because the document does not contain a field that sets its expiry date and the document database has no expiry time set), IDOL Server does not expire the document.

## Example

    http://12.3.4.56:9001/DREEXPIRE?

This index action expires the documents from IDOL Server.

## Optional Parameters

This index action accepts the following standard index action parameters.

Parameter | Description
--- | ---
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action.
IndexUID | An identification code for any document tracking events.
NoArchive | Turn off configured archiving for the index action.
Priority | The priority for the index job.

_FT_HTML5_bannerTitle.htm