Languages
Enables or disables the multi-language support for the given organization, project, and region IDs.
Enables or disables the multi-language support and translates English language settings to the preset target languages.
x-api-key<token>
In: header
Path Parameters
organizationIdstring
Format
uuidprojectIdstring
Format
uuidregionIdstring
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/regions/497f6eca-6276-4993-bfeb-53cbbbba6f08/languages" \ -H "Content-Type: application/json" \ -d '{}'{
"name": "string",
"regions": "default",
"customScript": "string",
"settings": {
"branding": {
"buttonRadius": "6px",
"cardRadius": "6px",
"font": "Arial",
"logoUrl": "string",
"primaryColor": "string",
"secondaryColor": "string",
"poweredByConcord": true
},
"consent": {
"blockingMode": "disabled",
"consentMode": "implied",
"privacyMode": [
null
],
"consentBanner": {
"enabled": true,
"layout": "bar",
"position": [
null
],
"policy": {},
"title": true,
"theme": "brand",
"closeButton": true,
"denyButton": [
null
],
"customizeButton": true,
"showGooglePrivacyPolicy": false
},
"hideUnusedCategories": false,
"doNotSell": true,
"consentDuration": 6,
"gcm": "disabled",
"gcmPolicy": "https://business.safety.google/privacy",
"gpc": false,
"impliedConsentDelay": 0,
"limitPii": false,
"microsoftUET": "disabled",
"webflow": true,
"wordpress": true
},
"crossSiteTracking": false,
"crossDeviceConsent": false,
"floatingButton": {
"enabled": true,
"circleOffsetX": "24px",
"circleOffsetY": "24px",
"tabOffsetY": "256px",
"position": "right",
"theme": "brand",
"type": "circle",
"icon": "cookie"
},
"placeholders": {
"enabled": true,
"theme": "brand"
},
"privacyCenter": {
"consentHistory": true,
"consentHistoryMode": "legacy",
"disclosures": true,
"dsrFormMode": "single",
"privacyRequests": true,
"doNotSellRequests": true,
"position": "right",
"theme": "brand",
"vendors": true
}
},
"language": {
"enabled": false,
"defaultLanguage": "en_US"
},
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
"dateCreated": 0,
"dateUpdated": 0,
"slug": "string"
}{
"statusCode": 404,
"error": "Not Found",
"message": "string"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Forbidden"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Forbidden"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not Found"
}{
"statusCode": 422,
"error": "Unprocessable Entity",
"message": "string"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "Internal Server Error"
}