Landing Pages

Set Landing Page Consent Default

Set the workspace-wide consent gate default. ADMIN ONLY.

A compliance control for every page that does not override it. Takes effect on each page's NEXT publish - already-published HTML is not rewritten; GET /landing-page-consent/pages shows which pages are stale.

Spends nothing.

put/landing-page-consent/default

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/landing-page-consent/default
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

mode'off' | 'explicit' | 'region'
regionsstring[]

Only used when mode is region.

bannerboolean

False when your own consent manager drives the gate.

titlestring
messagestring
accept_labelstring
reject_labelstring
policy_urlstring nullable
policy_labelstring
accentstring

Hex colour.

reopenerboolean
reopener_labelstring
versioninteger

Bump to re-prompt every visitor.

Response

Successful Response

dataStudioContentPayload required

One Studio object, open-shaped. See the module docstring.

Changes

No recorded changes to this operation across all 2 revisions of this API.