POST /v2/consents/gpc
Create and insert a gpc consent
Request
- Base URLhttps://uc.api.osano.com
- AuthAPI key in header x-uc-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-country-code-overridestring
Valid ISO 3166-1 country code to override the country resolution based on the IP address.
x-region-code-overridestring
Valid ISO 3166-2 region code to override the region resolution based on the IP address
Request body
Response
GPC consent recorded. gpcActions lists the action applied to each GPC-enabled privacy protocol for the resolved jurisdiction.
Changes
No recorded changes to this operation across all 1 revision of this API.