# clearAuditLog

Clears retained audit records. Sequence numbers continue increasing and are not reused.

Canonical: https://grid.syidax.com/docs/methods/clearAuditLog/

<a id="meaning"></a>

## What does this API do?

Clears retained audit records. Sequence numbers continue increasing and are not reused.

<a id="contract"></a>

## Exact input and result types

```typescript
clearAuditLog(): Promise<void>
```

| Arguments | Required | Type |
| --- | --- | --- |

The return type is `Promise<void>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.clearAuditLog(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="recipes"></a>

## Feature explanations and examples

- [View change history](https://grid.syidax.com/docs/features/audit-log.md) — The audit log tracks row, cell, and selection changes and undo/redo transitions. Use it to inspect change history that current values alone cannot reveal.
