Skip to content
Docs
Changelog

Admin write refusals reach the caller

The admin API reports refused writes and rolls back their Audit Events.

Markdown

When Better Auth refuses an admin API write, the call now returns the error and the transaction rolls back. For example, trying to ban your own account returns BAD_REQUEST and adds no ban event to the audit history.

Admin API · Commit 83f880aa

Edit on GitHubDocumentation is in English.
Cookie settings
We use essential cookies to make our app work. With your consent, we also use optional cookies to improve your experience.

Read our Cookie Policy and Privacy Policy.