Documentation Center

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

/servlets3/wietmsd?id=1459235445109&book=s1000d_bike_41&collection=default&target=audittrail&action=delete_audittrail_record&record_name=1459235161602-session.xml

Parameters

ParameterDescription
targetaudit
actiondelete_audittrail_record
idA session ID that is valid for this collection and publication combination.
record_nameThe system ID associated with the audit trail record that is targeted for deletion.
book The name of the publication, such as s1000d_bike_41.
collectionThe name of the collection that the publication is registered in, such as default.

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>