Delete all audit trail records

Deletes all of the audit trail instances that are associated with the current user.

Example API call

/lcapi?book=1&collection=1&target=audittrail&action=
delete_all_audittrail_records GET

Parameters

ParameterDescription
targetaudit
actiondelete_all_audittrail_records
bookThe id of the publication, an integer, such as 1.
collection The id of the collection, an integer, such as 1.

Returns

On success
The updated list of Audit Trail records.
<audittrail_records>
     <norecords/>
</audittrail_records>
On failure
Returns the list of Audit trail records, including the not deleted session:
<audittrail_records>
     <header/>
	    <body>
          <audit_record name='1459235161602-session.xml'>1459235161602-session</audit_record>
		   </body>
</audittrail_records>