Skip to content

Record GDPR Consent

POST
/auth/user/me/privacy/gdpr-consent

Set gdpr_consent (server sets gdpr_consent_at when true). Optional policy_version and privacy_region. Ultra rate limit 20/10min.

Authorizations

SessionAuth

Session ID for authenticated requests

Type
API Key (header: X-Session-ID)

Request Body

application/json
JSON
{
  
"consent": true,
  
"policy_version": "string",
  
"privacy_region": "string"
}

Responses

Consent updated

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

Path: POST /auth/user/me/privacy/gdpr-consent
Body: { "consent": boolean, "policy_version"?: string, "privacy_region"?: "eu"|"ca"|"eu_ca"|"global" }
Server sets gdpr_consent_at when consent is true. Ultra rate limit 20/10min.