Skip to content

DELETE athlete clears everything under the athlete; erasure stays the POST - #45

Merged
DrAlexHarrison merged 1 commit into
mainfrom
deletecascade
Sep 19, 2026
Merged

DrAlexHarrison merged 1 commit into
mainfrom
deletecascade

Conversation

@DrAlexHarrison

Copy link
Copy Markdown
Member

Pairs with SaturdayInc/fuel-backend #799. Merge after that PR deploys, since the guide describes the new behavior.

What changed

DELETE /v1/athletes/{id} now clears everything stored under the athlete (activities, prescriptions, feedback, AI conversations, consent records, integration tokens, gear) together with the profile. The athletes guide and the data-policy table say so, and keep POST /v1/athletes/{id}/delete as the erasure request that also revokes connected providers and files the warehouse deletion.

Checks

python scripts/check-docs-drift.py --backend <fuel-backend deletecascade worktree>: clean (121 spec operations, 16 webhook events).

🤖 Generated with Claude Code

https://claude.ai/code/session_01K9f7KoPEPs8FXwBT8vAduy

… POST

fuel-backend now deletes an athlete's activities, conversations, consent
records, integration tokens and gear together with the profile on
DELETE /v1/athletes/{id}. The guide and the data-policy table say so, and
keep the erasure request as the path that also revokes providers and files
the warehouse request.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K9f7KoPEPs8FXwBT8vAduy

Ci-From: linux
Ci-Session: f2e28bc2-ac58-48e1-a2b8-39bf8e777e80
@DrAlexHarrison
DrAlexHarrison merged commit 1c1113b into main Sep 19, 2026
3 of 5 checks passed
@DrAlexHarrison
DrAlexHarrison deleted the deletecascade branch September 19, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant