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