Health
Toggle the current user's health-data sharing consent. Sets users.health_data_consent_at to NOW() on grant (idempotent — already-true does not bump the timestamp) or null on revocation. The bridge HealthDataConsentGuard (REW-421) reads this column before returning per-user health data to Lucille. Premium-only.
put/api/health/consent
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/health/consent
- AuthHTTP bearer
Request body
Changes
No recorded changes to this operation across all 34 revisions of this API.