Update user legal information
Update User Legal allows to update the user's 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 \
--request PATCH 'https://api.bitlabs.ai/v1/client/user/legal' \
--header "X-Api-Token: $API_KEY" \
--header "X-User-Id: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"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": {}
}