# PurgeDatastore

This action instructs the connector to delete the datastore for a fetch task. If any `synchronize` actions are running, the connector waits for them to finish before deleting the datastore.

You might want to delete the datastore for a fetch task if you have modified the task configuration and you need to ingest all of the documents in the repository again.

CAUTION: Information about legal holds is stored in the datastore. If you delete the datastore, this information is lost and the holds are released.

    http://host:port/action=PurgeDatastore&section=sectionname

Type: Synchronous

Parameter Name | Description | Required
--- | --- | ---
`Section` | The name of the fetch task for which you want to delete the datastore. This is the name of the `[Taskname]` section in the connector’s configuration file. The name is not case-sensitive. | Yes

## Example

    http://localhost:1234/action=PurgeDatastore&section=MyTask

## Response

A sample response appears below.

    <autnresponse>
       <action>PURGEDATASTORE</action>
       <response>SUCCESS</response>
       <responsedata> </responsedata>
    </autnresponse>

© 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