Tcf

Update TCF consent data

POST
/{projectId}/tcf/update-consent

Update user consent data with TC string, AC string, and individual consent choices.

Authorization

SessionAuth
x-session<token>

In: header

Path Parameters

projectId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/497f6eca-6276-4993-bfeb-53cbbbba6f08/tcf/update-consent" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true,  "tcString": "string",  "addtlConsent": "string",  "vendorConsents": {},  "purposeConsents": {},  "vendorLegitimateInterests": {},  "purposeLegitimateInterests": {},  "specialFeatureOptins": {},  "updatedAt": 0}