GDPR Consent

You can set GDPR consent for a specific user in UserDB with the consent endpoint. The consent status will be honored anytime the UserKey is used in a request. This endpoint requires authentication.

post/consent

Request

  • Base URL
    https://e-networkId.adzerk.net/udb/networkId
  • URL
    https://e-networkId.adzerk.net/udb/networkId/consent
  • Auth
    none required

Path parameters

networkIdinteger required

Your account (network) ID

Query parameters

propertystring

Appends one or more key/value pairs to be shipped to UserDB logs. In the format ?property:Key1=Value&property:Key2=Value etc.

Request body

userKeystring required

The UserDB ID of the user

consentobject required

Object. Set to "consent": {"gdpr": true}} or "consent": {"gdpr": false}}

Response

200

Changes

No recorded changes to this operation across all 1 revision of this API.