Delete all audit trail records
Deletes all of the audit trail instances that are associated with the current user.
Example API call
/servlets3/wietmsd?id=1459234704422&book=s1000d_bike_41&collection=default&time=1459234703010&target=audittrail&action=
delete_all_audittrail_records GET
Parameters
| Parameter | Description |
|---|---|
target | audit |
action | delete_all_audittrail_records |
id | A session ID that is valid for this collection and publication combination. |
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 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>