Add DELETE /api/auth/account endpoint for full account deletion
Implements task 6.3: deletes all user data in correct FK order (span_annotations, annotations, candles, charts, span_label_types, annotation_types) then deletes the user record. Returns 401 if not authenticated, 200 on success. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
93f7d20382
commit
aa2c5fdb69
2 changed files with 55 additions and 1 deletions
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
- [x] 6.1 `[haiku]` Create `PUT /api/auth/profile` endpoint: update user display name
|
||||
- [x] 6.2 `[sonnet]` Create `PUT /api/auth/password` endpoint: verify current password, hash new password, update; reject for OAuth users
|
||||
- [ ] 6.3 `[sonnet]` Create `DELETE /api/auth/account` endpoint: delete all user data (cascade) and user record
|
||||
- [x] 6.3 `[sonnet]` Create `DELETE /api/auth/account` endpoint: delete all user data (cascade) and user record
|
||||
|
||||
## 7. Update Existing API Routes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue