Config - Source - Delete
/config/source/delete/{source-id-or-key}/{community-id}
Deletes the specified source and removes all documents harvested on behalf of that source. Note this may take a few minutes to run for sources with many documents.
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) to be deleted
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/4acdb6eb4ed15e7baa395217/4cbdb9eb5ed98e7bdd489270
http://infinite.ikanow.com/api/config/source/delete/www.fema.gov.help.rss.shtm/4cbdb9eb5ed98e7bdd489270
Example Response
{ "response": { "action": "Delete Source", "success": true, "message": "Deleted source and all documents: <number of docs deleted>", "time": 120000 } }