ServiceNow Connector 23.2

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

Copyright 2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL ServiceNow Connector 23.2

Topic Title: PurgeDatastore