© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
User is not able to ban user, even when he is admin of the org - Better Auth
BA
Better Auth
•
16mo 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
}
)
;
Similar Threads
removeMember does not remove the user from teamMembers table associated with org
BA
Better Auth / bug-reports
7mo ago
Admin plugin : listUsers total is not correct
BA
Better Auth / bug-reports
12mo ago
Not able to create polar Checkout
BA
Better Auth / bug-reports
13mo ago
Auth client is not updating the Prisma user model.
BA
Better Auth / bug-reports
5mo ago