PUT/v1/corepreference-integrations/{id}

Update corepreference integrations

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Path parameters

idstringrequired

Request body application/json

idstringnullable
tenant_idstringnullable
created_atstring (date-time)
updated_atstring (date-time)
corePreferenceIdstringnullable
integrationTypestringnullable
defaultMappingobjectComplianceInputMapping
processingPurposeTruestringnullable
processingPurposeFalsestringnullable
permissionTypestringnullable
consentMappingobjectConsentCodeMapping
trueValuestringnullable
falseValuestringnullable
channelMappingsarray of objectChannelMappingnullable
channelIdstringnullable
processingPurposeTruestringnullable
processingPurposeFalsestringnullable
permissionTypestringnullable
consentMappingobjectConsentCodeMapping
statusstringnullable
descriptionstringnullable
instanceIdstringnullable
is_deletedboolean
deleted_atstring (date-time)nullable

Responses

No response body.

curl --request PUT \
  --url 'https://api.4comply.io/v1/corepreference-integrations/00000000-0000-0000-0000-000000000000' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "00000000-0000-0000-0000-000000000000",
  "tenant_id": "your-tenant-id",
  "created_at": "2026-09-07T12:00:00Z",
  "updated_at": "2026-09-07T12:00:00Z",
  "corePreferenceId": "00000000-0000-0000-0000-000000000000",
  "integrationType": "string",
  "defaultMapping": {
    "processingPurposeTrue": "string",
    "processingPurposeFalse": "string",
    "permissionType": "string",
    "consentMapping": {
      "trueValue": "string",
      "falseValue": "string"
    }
  },
  "channelMappings": [
    {
      "channelId": "00000000-0000-0000-0000-000000000000",
      "mapping": {
        "processingPurposeTrue": "string",
        "processingPurposeFalse": "string",
        "permissionType": "string",
        "consentMapping": {
          "trueValue": "string",
          "falseValue": "string"
        }
      }
    }
  ],
  "status": "active",
  "description": "Example text",
  "instanceId": "00000000-0000-0000-0000-000000000000",
  "is_deleted": true,
  "deleted_at": "2026-09-07T12:00:00Z"
}'