Open topic with navigation

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

    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>

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm