• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / auth / 41681910795
72%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2026 05:18PM UTC
Jobs 1
Files 208
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Nov 2026 05:12PM UTC coverage: 71.694%. Remained the same
41681910795

push

github

web-flow
docs: fix openapi response for DELETE /admin/users/{userId} (#2874)

<!-- claude-slack-attribution -->
_Requested by **Cemal Kilic** · [Slack
thread](https://supabase.slack.com/archives/C022071RB2L/p1791968272007429?thread_ts=1791968272.007429&cid=C022071RB2L)_

**Before:** `openapi.yaml` says `DELETE /admin/users/{userId}` returns
`200` with a `UserSchema` ("User's account data.") and documents no
request body.

**After:** The spec documents what the endpoint actually returns, an
empty `{}` body, plus the optional `should_soft_delete` request body.

This fixes the OpenAPI entry for `DELETE /admin/users/{userId}` so
generated clients and docs match the server.

**How:** The `adminUserDelete` handler in `internal/api/admin.go` always
responds with `sendJSON(w, http.StatusOK, map[string]interface{}{})` for
hard delete, soft delete, and already-soft-deleted users. It optionally
reads a JSON body with `should_soft_delete`. The spec change adds an
optional `requestBody` with `should_soft_delete` (boolean, default
`false`) and replaces the `200` schema with `type: object`,
`additionalProperties: false`, `example: {}`. Only `openapi.yaml`
changes, and only this one operation. No Go changes.

Overlaps with the DELETE /admin/users/{userId} hunk in #2866 (credit to
haranishi); this is a narrow version so that endpoint can land
independently. Context: supabase/supabase-js#2758.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_0137vz1dKsd2RZigEqmeo8N3


---
_Generated by [Claude
Code](https://claude.ai/code/session_0137vz1dKsd2RZigEqmeo8N3)_

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Cemal Kılıç <cemalkilic@users.noreply.github.com>

16732 of 23338 relevant lines covered (71.69%)

498.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41681910795.1 03 Nov 2026 05:18PM UTC 208
71.69
GitHub Action Run
Source Files on build 41681910795
  • Tree
  • List 208
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 010c534d on github
  • Prev Build on master (#41681861952)
  • Next Build on master (#41701485687)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc