Languages

Update language

Updates an existing language.

PATCH
/organizations/{organizationId}/projects/{projectId}/regions/{regionId}/languages/{languageId}
x-api-key<token>

In: header

Path Parameters

languageIdstring
Formatuuid
organizationIdstring
Formatuuid
projectIdstring
Formatuuid
regionIdstring
Formatuuid
name?string
Lengthlength <= 256
consentBanner?
floatingButton?
placeholders?
privacyCenter?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "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/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "name": "string",
  "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
  "consentBanner": {
    "title": "string",
    "text": "string",
    "link": "string",
    "acceptButton": "string",
    "denyButton": "string",
    "customizeButton": "string"
  },
  "floatingButton": {
    "tab": "string"
  },
  "placeholders": {
    "acceptButton": "string",
    "acceptText": "string"
  },
  "privacyCenter": {
    "tabTitle": "string",
    "consentHistory": {
      "title": "string"
    },
    "disclosures": {
      "title": "string",
      "text": "string"
    },
    "privacyRequests": {
      "title": "string",
      "text": "string",
      "optionsTitle": "string",
      "optionsButton": "string",
      "changeRequest": {
        "title": "string",
        "text": "string"
      },
      "deleteRequest": {
        "title": "string",
        "text": "string"
      },
      "doNotSellRequest": {
        "title": "string",
        "text": "string"
      },
      "viewRequest": {
        "title": "string",
        "text": "string"
      }
    }
  },
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  "dateCreated": 0,
  "dateUpdated": 0
}
{
  "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"
}