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 HPE 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
StateID | The name of a state token that specifies the documents to delete. | see Comments

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.

## Comments

You must specify either Docs or StateID.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback 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. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm