application/json

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
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}'
Request example
{
  "consent_general": true,
  "consent_analytics": true,
  "consent_advertising": true
}
Response examples (200)
{
  "data": {}
}