Config - Source - Delete - Docs

/config/source/delete/docs/{source-id-or-key}/{community-id}

Removes all documents harvested on behalf of a specified source. Note this may take a few minutes to run for sources with many documents. This call is normally made as part of ingest debugging (eg in conjunction with source/test and source/save).

Authentication

Required, see Auth - Login. The caller must either be the source owner, or a community moderator/owner, or an administrator.

Arguments

source (required)
source ID or source key (see Source data model) for which to delete all the documents.

community-id (required)
The community ID of the community containing the specified source, can also be a regex (community ID - regex) provided that matches only a single community.

Example

http://infinite.ikanow.com/api/config/source/delete/docs/4acdb6eb4ed15e7baa395217/4cbdb9eb5ed98e7bdd489270
http://infinite.ikanow.com/api/config/source/delete/docs/www.fema.gov.help.rss.shtm/4cbdb9eb5ed98e7bdd489270

Example Response
{
    "response": {
        "action": "Delete Source",
        "success": true,
        "message": "Deleted source documents: <number of docs deleted>",
        "time": 120000
    }
}