GDPR Consent
Note that the gdprConsentString intended for downstream providers cannot be set on a user record.
networkId
Type: int32
Required: Yes
Your account (network) ID
property
Type: string
Appends one or more key/value pairs to be shipped to UserDB logs. In the format ?property:Key1=Value&property:Key2=Value etc.
userKey
Type: string
Required: Yes
The UserDB ID of the user
Response Codes
``200 200
Type: json
``401 401
Example cURL request:
curl -X POST -H "X-Adzerk-ApiKey:<API-KEY>" https://e-23.adzerk.net/udb/23/consent -d '{"userKey":"ue1-e397eb5990", "consent": {"gdpr": true}}'
[Returns a 1x1 transparent GIF image]