users

Patch Privacy Settings

Patch consent fields with append-only audit trail.

Accepts any combination of allow_ai_improvement, marketing_consent and analytics_consent. For each changed field, appends { field, from, to, timestamp } to consent_withdrawal_history. No-ops fields whose value is unchanged.

If no privacy settings row exists (e.g. clinician who skipped the parent location step), creates one with jurisdiction_code=PENDING.

patch/users/privacy-settings

Request

  • Base URL
    https://api.projectindi.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

allow_ai_improvementboolean nullable
marketing_consentboolean nullable
analytics_consentboolean nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.