# DREDELETEDOC

Allows you to identify individual documents, or ranges of documents by their document ID, and delete them from IDOL Server.

To restore a document that was deleted using `DREDELETEDOC`, use the DREUNDELETEDOC index action.

## Example

    http://12.3.4.56:9071/DREDELETEDOC?docs=3+5+range=[7,10]

This index action deletes the documents with the DOCID `3`, `5`, `7`, `8`, `9` and `10` from IDOL Server.

## Required Parameters

You must set one of the following parameters.

Parameter | Description
--- | ---
Docs | The IDs of the documents to delete.
StateID | The name of a state token that specifies the documents to delete.

## 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