Publish Script to Website

Use this API to publish the script configuration options for the specified website.

πŸ‘

For more information, see Publishing and Implementing Cookie Consent Scripts.

Query Params
string
enum

The type of script either production or test.

Allowed:
string
required
length ≀ 1024

The website domain to target for the operation.

Body Params
languages
array of strings
length between 0 and 100

The list of language codes for localized content.

languages
boolean
Defaults to false

This flag indicates whether to publish scripts for individual languages separately.

boolean
Defaults to false

This flag indicates whether user reconsent is required.

boolean

This flag indicates whether the consent banner display is suppressed.

boolean

This flag indicates whether the preference center display is suppressed.

boolean

This flag indicates whether automatic blocking of cookies is enabled.

boolean

This flag indicates whether common tracking technologies are enabled.

boolean

This flag indicates whether automatic language detection is enabled.

boolean

This flag indicates whether visitor-based language detection is enabled.

boolean

This flag indicates whether HTML-based language detection is enabled.

Responses

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Language
Credentials
OAuth2
Missing 2 required scopes
URL
Response
Choose an example:
application/json
*/*