# AZ711: The audit trail can't be changed

`authz.audit` only grows: rows can't be updated or deleted, even by the owner, except by `authz.trim_audit(interval)`, which removes what is older than the interval. SQLSTATE 42501: a refusal, which the SDKs would answer 403. Apps don't meet it: the app role may not write to `authz.audit` at all.

Reported to the app, by the `authz.*` functions and the policy's rules: the code is in the error's HINT (`rowstile help AZ711`), and the SDKs' errors carry it as `code`.
