Delete audit trail record

Deletes a single Audit Trail record that is owned by the user. The Audit Trail record is identified by the system ID that is associated with it.

Example API call

/lcapi?book=1&collection=1&target=audittrail&action=delete_audittrail_record&record_name=50

Parameters

ParameterDescription
targetaudit
actiondelete_audittrail_record
record_nameThe system ID associated with the audit trail record that is targeted for deletion.
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 Audit Trail List, with the specified audit trail record deleted.

<audittrail_records>
     <norecords/>
</audittrail_records>
On failure
The updated Audit Trail List, with the specified audit trail record not deleted.

<audittrail_records>
     <header/>
     <body>
		       <audit_record name='1459235161602-session.xml'>1459235161602-session</audit_record>    
	    </body>
</audittrail_records>