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

_FT_HTML5_bannerTitle.htm