---
title: "Delete all health-domain data for a user"
method: DELETE
path: "/api/admin/user/{id}/health-data"
tags: ["Admin"]
---

# Delete all health-domain data for a user

`DELETE /api/admin/user/{id}/health-data`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/admin/user/{id}/health-data`
- Auth: HTTP bearer

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.

## Path parameters

- `id` number, required

## Response `200`

- unknown

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
