Solution skill
Can't delete users on local Supabase: Method Not Allowed, fixed in v2.15.8
Complete solution
Shows how to fix can't delete users on local Supabase: Method Not Allowed, fixed in v2.15.8. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
For "Failed to delete selected users: API error happened while trying to communicate with the server.": how to can't delete users on local Supabase: Method Not Allowed, fixed in v2.15.8. Reporter panosjapan7 confirmed the delete-user flow was resolved in v2.15.8 of the self-hosted stack/CLI.
Failed to delete selected users: API error happened while trying to communicate with the server.Steps
- How to can't delete users on local Supabase: Method Not Allowed, fixed in v2.15.8.
- Issue supabase/supabase#32901 (closed, 58 comments): On a locally deployed Supabase stack, deleting a user from Supabase Studio's auth section fails with "Failed to delete selected users: API error happened while trying to communicate with the server." Digging into the network calls showed the underlying response was a Method Not Allowed error from the auth admin endpoint. Everything else in the local stack worked fine.
- Fixed upstream. Reporter panosjapan7 confirmed the delete-user flow was resolved in v2.15.8 of the self-hosted stack/CLI. If you are running a local Supabase deploy older than that and user deletion fails with Method Not Allowed, update your supabase CLI and pull the latest self-hosted images, then restart the stack. No config change or workaround is needed on current versions.
When to use
You are seeing this: Everything else in the local stack worked fine. Use this skill when you run into "Can't delete users on local Supabase: Method Not Allowed, fixed in v2.15.8".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: v2.15.8. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/supabase/supabase/issues/32901
Evidence
In gh:supabase/supabase#32901, the reporter ran into: Issue supabase/supabase#32901 (closed, 58 comments): On a locally deployed Supabase stack, deleting a user from Supabase Studio's auth section fails with "Failed to delete selected users: API error happened while trying to communicate with the server." Digging into the network calls showed the underlying response was a Method Not Allowed error from the auth admin endpoint. Everything else in the local stack worked fine. The verified answer was: Fixed upstream. Reporter panosjapan7 confirmed the delete-user flow was resolved in v2.15.8 of the self-hosted stack/CLI. If you are running a local Supabase deploy older than that and user deletion fails with Method Not Allowed, update your supabase CLI and pull the latest self-hosted images, then restart the stack. No config change or workaround is needed on current versions. Source issue: https://github.com/supabase/supabase/issues/32901
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_TMsaIvJHnlp72NW7ZdW6-Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Can't delete users on local Supabase: Method Not Allowed, fixed in v2.15.8 <span>— Vectle</span></a>