Admin
Delete all health-domain data for a user
Delegates to HealthDataDeletionService (HEALTH_DELETABLE_TABLES): health_samples, health_device_connections, health_sync_anchors, health_readiness_snapshots, bowel_movement_logs, digestive_symptom_logs, diary_entries, user_health_goals, user_source_preferences, and health_baselines. Clearing health_device_connections returns health_last_synced_at in GET /users/profile to null — mobile detects that and triggers a full re-sync.
delete/api/admin/user/{id}/health-data
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/admin/user/{id}/health-data
- AuthHTTP bearer
Path parameters
idnumber required
Response
unknown required
Example response
{
"health_samples": 4821,
"health_device_connections": 2,
"health_sync_anchors": 12,
"health_readiness_snapshots": 90,
"bowel_movement_logs": 34,
"digestive_symptom_logs": 11,
"diary_entries": 8,
"user_health_goals": 1,
"user_source_preferences": 5,
"health_baselines": 3
}Changes
No recorded changes to this operation across all 34 revisions of this API.