Update user legal information
Body Required
-
consent_general boolean
-
consent_analytics boolean
-
consent_advertising boolean
-
set_terms_of_service_version boolean
-
set_privacy_policy_version boolean
PATCH /v1/client/user/legal
curl \
-X PATCH https://api.bitlabs.ai/v1/client/user/legal \
-H "X-Api-Token: $API_KEY" \
-H "X-User-Id: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"consent_general":true,"consent_analytics":true,"consent_advertising":true,"set_terms_of_service_version":true,"set_privacy_policy_version":true}'
Request examples
{
"consent_general": true,
"consent_analytics": true,
"consent_advertising": true,
"set_terms_of_service_version": true,
"set_privacy_policy_version": true
}
Response examples (200)
{
"data": {}
}