This article shares some possible use cases your app could support, as well as an example flow that could support each use case. You're certainly not limited to these use cases, but they can be a helpful jumping off point as you plan your app's implementation.
You might choose to manage the site's cookie banner display settings with this API, as defined in the introduction. For example, if your app manages the cookie banner display settings across multiple sites.
To change the settings:
Call the Update Cookie Banner Settings endpoint with the fields to update.
For example:
You might choose to manage the texts displayed in the site's cookie banner with this API. For a complete list of default texts, see Banner text default values. For example, if your app manages the cookie banner display settings across multiple sites.
To update cookie banner texts:
Call the Update Cookie Banner Settings endpoint and pass the texts
field as an object with all relevant key:value pairs.
For example: