DELETE_edgeDevices_{linkId}_audits

DELETE /edgeDevices/{linkId}/audits

Gateway

Using this resource clears the Gateway’s memory for all audits associated with the specified link Id. The Gateway uses an individual circular buffer of audits for each edge device, overwriting oldest entries should the queue of a particular device not be serviced in a timely fashion. The size of this buffer is 2000 audits, the same as a lock.

Change in functionality for URI:

Gateway FW versions: Prior to 1.38: If audits are added after a GET, and a DELETE is issued unread audits may be deleted.

Gateway FW versions: 1.38 to latest: If the audit trail for a given linkId has not been previously requested (GET /edgeDevices/{linkId}) the audit trail will not be deleted.

Reader-Controller

This resource clears the reader-controller’s memory buffer for all audits that it has stored. The reader-controller uses an individual circular buffer of audits, overwriting oldest entries when it reaches 5000 audits.

Authentication

Basic – unique credentials defined and accepted during setup.

Request

URI parameters:

Type: path parameter

  • linkId = linked edge device identifier, as defined in the ENGAGE - JSON Data Structures document, section titled “Gateway Edge Device Link List”. For reader-controllers this is a constant dev00000.

Success Response

HTTP status code 200