# DREDELETEREF

Allows you to delete one or more documents by their reference.

NOTE: If you delete a document by reference using `DREDELETEREF`, you can restore it by using DREUNDELETEDOC, but you must use the document ID to restore the document.

## Example

    http://12.3.4.56:9101/DREDELETEREF?Docs=http%3A%2F%2Fwww%2Ecompany%2Ede%2Ffile%2Ehtml+http%3A%2F%2Fwww%2Esite%2Ecom%2Fabout%2Ehtml&DREDbName=News

This index action deletes the documents with the references `http://www.company.de/file.html` and `http://www.site.com/about.html` from the `News` database.

## Required Parameters

Parameter | Description
--- | ---
Docs | The references of the documents to delete.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
DREDbName | The database from which to delete the documents.
Field | The field containing the reference specified by Docs.

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