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

© Copyright 2019 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