Search
Setup for Free
BA
Better Auth
•
9mo ago
Tyler
How do I use the auth.api.deleteUser endpoint from a server action?
I am trying to figure out how to invoke different auth
.api endpoints from my server code in NextJS
. I cannot seem to figure out what the implementation should be
.
Solution
https://www.better-auth.com/docs/plugins/admin#remove-user
Admin | Better Auth
Admin plugin for Better Auth
Jump to solution
Better Auth
Join
9,552
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
How do you deleteUser from server side?
BA
Better Auth / help
11mo ago
How to use better auth from server
BA
Better Auth / help
11mo ago
Use deleteUser() without verification?
BA
Better Auth / help
13mo ago
Anyone using auth.api in a server action with useActionState?
BA
Better Auth / help
9mo ago