Open topic with navigation

# 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:20001/DREDELETEDOC?docs=3+5+range=[7,10]

This index action uses port `20001` to delete the documents with the DOCID `3`, `5`, `7`, `8`, `9` and `10` from Distributed Index Handler, which is located on a machine with the IP address `12.3.4.56`.

## Parameters

Parameter | Description | Required
--- | --- | ---
Docs | The IDs of the documents to delete. | see Comments
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action. |
IndexUID | An identification code for any document tracking events. |
Priority | The priority for the index job. |
StateID | The name of a state token that specifies the documents to delete. | see Comments

## Comments

You must specify either Docs or StateID.

© 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