Go Headless

/

REST
Articles
Get Started
Use the Wix MCP
What's New

App Management
OAuth 2
App Billing
App Instance
App Permissions
Embedded Scripts
BI Event
Editor Deep Link
Site Plugins

Business Solutions
eCommerce
Stores
Bookings
CMS
Events
Restaurants
Blog
Forum
Pricing Plans
Portfolio
Benefit Programs

Assets
Media
HTTP Functions
Pro Gallery

CRM
Members & Contacts
Forms
Community
Communication
Loyalty Program
CRM

Business Management
AI Site-Chat
Analytics
App Installation
Async Job
Automations
Calendar
Captcha
Categories
Cookie Consent Policy
Data Extension Schema
Dashboard
FAQ App
Get Paid
Headless Authentication
Locations
Marketing
Multilingual
Notifications
Payments
Site Search
Secrets
Site Properties
Properties
Introduction
Properties Object
G
Get Site Properties
P
Update Business Profile
P
Update Business Contact
P
Update Business Schedule
P
Update Consent Policy
Site Properties Updated
Site URLs
Tags

Account Level
About Account Level APIs
Sites
Resellers
Domains
B2B Site Management
User Management
POST

Update Consent Policy


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a site's default consent policy.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Consent Policy
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/site-properties/v4/properties/policy

Body Params
consentPolicyConsentPolicy

Default consent policy defined by the Wix user. Can be further limited by site visitors.

Response Object
Returns an empty object.
Update site consent policy
Request
cURL
Response
JSON
Errors
401Unauthenticated

There is 1 error with this status code.

403Permission Denied

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?