Answers.Body: <p>I think you're looking for the <code>Delete</code> Duplication Handling option. From the <a href="https://github.com/engram-design/FeedMe#duplication-handling" rel="nofollow">documentation</a>:</p>
  
  <blockquote>
    <p>Delete all existing entries in this section, adding only entries from
    this feed. Be careful. Use case: Events, or when only data from the
    current feed is required.</p>
    
    <p>"I want only the entries from this feed in this section."</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-16T15:44:48.583Z
Answers.Text: this will only delete entries that are recognized on both endpoint and in craft right? The issue is that if the endpoint doesn't contain an entry that is still in craft I need to delete that entry in craft.
Answers.UserDisplayName: mdxprograms
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-17T07:28:28.153Z
Answers.Text: Out of interest, have you actually tried this setting? Thats exactly what this does. It deletes _every_ entry in the section you're importing to, and _only_ imports the entries in your feed. Make sense?
Answers.UserDisplayName: crawf
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-14T21:52:59.380Z
Answers.LastActivityDate: 2015-12-14T21:52:59.380Z
Answers.UserDisplayName: crawf
Body: <p>I am currently using FeedMe to import json data every night but I need to delete all entries before doing so to make sure that any orphaned entries are removed.</p>
  
  <p>What is the best way to remove all entries within a section?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-14T16:45:20.180Z
Comments.Text: Can you not use the update setting for FeedMe, eg to check against a duplicate?
Comments.UserDisplayName: Cole Henley
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-14T18:25:06.097Z
Comments.Text: Update will only update and existing entry. There may be a record removed from the data I am receiving and I will need to somehow account for that and remove it within craft.
Comments.UserDisplayName: mdxprograms
Tags: <entries><deletion><plugin-feedme>
Title: Is there a way to delete all entries within a section?
ThreadText: # Is there a way to delete all entries within a section?
  
  (Asked by: username_0 on 2015-12-14)
  
  I am currently using FeedMe to import json data every night but I need to delete all entries before doing so to make sure that any orphaned entries are removed.
  
  What is the best way to remove all entries within a section?
  
  **Tags:** entries, deletion, plugin-feedme
  
  > **Comments:**
  > **username_1**: Can you not use the update setting for FeedMe, eg to check against a duplicate?  
  > **username_0**: Update will only update and existing entry. There may be a record removed from the data I am receiving and I will need to somehow account for that and remove it within craft.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-12-14. Score: 1
  
  I think you're looking for the `Delete` Duplication Handling option. From the [documentation](https://github.com/engram-design/FeedMe#duplication-handling):
  
  > Delete all existing entries in this section, adding only entries from
  > this feed. Be careful. Use case: Events, or when only data from the
  > current feed is required.
  >
  > "I want only the entries from this feed in this section."
  
  > **Comments:**
  > **username_0**: this will only delete entries that are recognized on both endpoint and in craft right? The issue is that if the endpoint doesn't contain an entry that is still in craft I need to delete that entry in craft.  
  > **username_2**: Out of interest, have you actually tried this setting? Thats exactly what this does. It deletes _every_ entry in the section you're importing to, and _only_ imports the entries in your feed. Make sense?  
  
  ---
  
  