© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How do I use the auth.api.deleteUser endpoint from a server action? - Better Auth
BA
Better Auth
•
12mo ago
•
7 replies
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
Similar Threads
Recent Announcements
Similar Threads
How do you deleteUser from server side?
BA
Better Auth / help
14mo ago
How to use better auth from server
BA
Better Auth / help
14mo ago
Use deleteUser() without verification?
BA
Better Auth / help
16mo ago
Anyone using auth.api in a server action with useActionState?
BA
Better Auth / help
12mo ago