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&time=1459177930418&target=audittrail&action=
delete_audittrail_record&record_name=1459235161602-session.xml
Parameters
| Parameter | Description |
|---|---|
target | audit |
action | delete_audittrail_record |
id | A session ID that is valid for this collection and publication combination. |
record_name | The system ID associated with the audit trail record that is targeted for deletion. |
time | To prevent browser-side caching of data, especially with AJAX requests, it is important to make a URL unique. The most effective technique to accomplish this is to include a date parameter that is based on the time at which the call is made. |
book | The name of the publication, such as s1000d_bike_41. |
collection | The 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>