Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
User is not able to ban user, even when he is admin of the org - Better Auth
BA
Better Auth
•
15mo ago
•
3 replies
anand248
User is not able to ban user, even when he is admin of the org
getting
{
"message
"
:
"Only admins can access this endpoint
"
,
"code
"
:
"ONLY
_ADMINS
_CAN
_ACCESS
_THIS
_ENDPOINT
"
}
, when client calls
await admin
.banUser
(
{ userId
: values
.userId
}
)
;
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
removeMember does not remove the user from teamMembers table associated with org
BA
Better Auth / bug-reports
5mo ago
Admin plugin : listUsers total is not correct
BA
Better Auth / bug-reports
11mo ago
Not able to create polar Checkout
BA
Better Auth / bug-reports
11mo ago
Auth client is not updating the Prisma user model.
BA
Better Auth / bug-reports
4mo ago