// DeleteAuditEntries deletes audit logs.
//
// Deletes all the audit logs older than timestamp.
DeleteAuditEntries deletes audit logs.

Deletes all the audit logs older than timestamp.
// DeleteAuditEntries deletes audit logs . // // Deletes all the audit logs older than timestamp .
func (c *Client) DeleteAuditEntries(timestamp int64) (err error) {
	queryString := fmt.Sprintf("%s?timestamp=%d", auditPath, timestamp)
	resp, err := c.Do(http.MethodDelete, queryString, "", nil)
	if err != nil {
		return err
	}
	return resp.Body.Close()
}
func ( c * Client ) DeleteAuditEntries ( timestamp int64 ) ( err error ) { queryString := fmt . Sprintf ( " " , auditPath , timestamp ) resp , err := c . Do ( http . MethodDelete , queryString , " " , nil ) if err != nil { return err } return resp . Body . Close ( ) }
DeleteAuditEntries deletes audit logs.
DeleteAuditEntries deletes audit logs .