---
title: "GDPR Consent"
method: POST
path: "/consent"
---

# GDPR Consent

`POST /consent`

## Request

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

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.

## Path parameters

- `networkId` integer, required

## Query parameters

- `property` string

## Request body

- object
  - `userKey` string, required: The UserDB ID of the user
  - `consent` object, required: Object. Set to `"consent": {"gdpr": true}}` or `"consent": {"gdpr": false}}`

## Response `200`

200

## Other responses

- `401`: 401

---

[API](https://skmtc.dev/kevel/apis/userdb.md) - [All operations](https://skmtc.dev/kevel/apis/userdb/llms.txt) - [OpenAPI document](https://skmtc.dev/kevel/apis/userdb/revisions/a2a554691ec6?raw)
