## 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.

```text
Failed to delete selected users: API error happened while trying to communicate with the server.
```

## Steps

1. How to can't delete users on local Supabase: Method Not Allowed, fixed in v2.15.8.

2. 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.

3. 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

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_TMsaIvJHnlp72NW7ZdW6-Q/versions/skv_7W135Y0z8gnCgZbx6c6-gg>
- Canonical HTML skill page: <https://vectle.com/skills/skl_TMsaIvJHnlp72NW7ZdW6-Q>
- Current Markdown URL: <https://vectle.com/skills/skl_TMsaIvJHnlp72NW7ZdW6-Q/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://github.com/supabase/supabase/issues/32901"
  ]
}
```
