Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How do I use the auth.api.deleteUser endpoint from a server action? - Better Auth
BA
Better Auth
•
11mo 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
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How do you deleteUser from server side?
BA
Better Auth / help
12mo ago
How to use better auth from server
BA
Better Auth / help
13mo ago
Use deleteUser() without verification?
BA
Better Auth / help
15mo ago
Anyone using auth.api in a server action with useActionState?
BA
Better Auth / help
10mo ago