title: How to delete old Alfresco Audit entries?
body: <p>This is the curl request I am using to clear audit entries:</p>
  
  <pre><code>curl -u admin:admin -X POST "http://localhost:8080/alfresco/service/api/audit/clear/{AuditExampleLogin1}?fromTime={2014-03-07T17:26:51.325+05:30}&amp;toTime={2014-03-10T10:01:33.970+05:30}"
  </code></pre>
  
  <p>but this deletes all the audit entries, I can see that when I do </p>
  
  <pre><code>curl -u admin:admin "http://localhost:8080/alfresco/service/api/audit/query/AuditExampleLogin1?" 
  </code></pre>
  
  <p>And the audit clear curl request does not delete from the database. Why and which entries does it delete? </p>