Developers
V1MeAnalytics consent

Explicitly grant or withdraw product-usage analytics consent

Off by default. Granting consent does not record activity. Withdrawal removes account and session links from prior app activity; opting back in never reuses those links. This consent is separate from health, research, advertising and marketing.

PATCH
/v1/me/analytics-consent
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/me/analytics-consent" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "noticeVersion": "2026-09-11"  }'
{  "enabled": true,  "consentedAt": "2019-08-24T14:15:22Z",  "noticeVersion": "2026-09-11"}