Parameter and Command Reference > CFS Connector Actions > Delete/Remove Fetch Action

Delete/Remove Fetch Action
This action is used to delete documents from a repository by their identifiers. Remove and delete are different names for the same action.
http://host:port/action=Fetch&FetchAction=Delete
                  [&Config=Base64_Config]
                   &Identifiers=Identifier_CSV
http://host:port/action=Fetch&FetchAction=Remove
                  [&Config=Base64_Config]
                   &Identifiers=Identifier_CSV
Type: Asynchronous
 
Optional Base64 encoded configuration file. If this parameter is specified, then the encoded configuration options is used instead of the options in the connector configuration file.
A CSV of document Identifiers. The documents with these identifiers are removed from the repository.
Example
http://localhost:1234/action=Fetch&FetchAction=Delete&Identifiers=PGlkIHM9IkRJUjEiIHI9IkM6XEF1dG9ub215XEZpbGVTeXN0ZW1Db25uZWN0b3JDRlNcZGlyMVxuZXdmaWxlLnR4dCIvPg%3D%3D
Response
As this is an asynchronous action, you receive a token in response to the request. A sample response to the action (as retrieved using the QueueInfo action) appears below.
This response shows that one document was deleted successfully.
<action>
 <documentcounts>
  <documentcount
   added="0"          collected="0"       deleted="1"
   errors="0"         holds="0"           ingestadded="0"
   ingestdeleted="0"  ingestfailed="0"    ingestupdated="0"
   inserted="0"       releasedholds="0"   seen="0"
   task="DIR1"        unchanged="0"       updated="0"/>
 </documentcounts>
 <fetchaction>DELETE</fetchaction>
 <tasks>
  <success>
   PGlkIHM9IkRJUjEiIHI9IkM6XEF1dG9ub215XEZpbGVTeXN0ZW1Db25uZWN0b3J   DRlNcZGlyMVxuZXdmaWxlLnR4dCIvPg==
  </success>
 </tasks>
 <token>MTAuMi4xMDUuMzQ6MTIzNDpGRVRDSDotMTgwNDU4NzIxMQ==</token>
 <status>Finished</status>
 <queued_time>2009-Oct-15 16:43:17</queued_time>
 <time_in_queue>0</time_in_queue>
 <process_start_time>2009-Oct-15 16:43:17</process_start_time>
 <time_processing>0</time_processing>
 <process_end_time>2009-Oct-15 16:43:17</process_end_time>
</action>
Related Topics 
*