Update user legal information

PATCH /v1/client/user/legal

Update User Legal allows to update the user's legal information.

application/json

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

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": {}
}