---
title: "Update Integration Configurations"
method: PATCH
path: "/v3/portals/{portalId}/integrations"
tags: ["Portal Integrations"]
---

# Update Integration Configurations

`PATCH /v3/portals/{portalId}/integrations`

Update the portal integration configurations, merging properties.

## Path parameters

- `portalId` string, uuid, required

## Request body

- UpdatePortalIntegrations — Partially update configuration data for Dev Portal integrations
  - `google_tag_manager` UpdateGoogleTagManagerIntegration, nullable — Partially update Google Tag Manager integration configuration
    - `enabled` boolean — Whether the integration is enabled
    - `type` 'tracking' — The type of the integration for categorization
    - `config_data` GoogleTagManagerIntegrationConfigProperties — Configuration data for the Google Tag Manager integration
      - `id` string — The Google Tag Manager container ID
      - `l` string, nullable — Optional dataLayer variable name
      - `preview` string, nullable — Preview environment name
      - `cookies_win` boolean, nullable — Forces GTM cookies to take precedence when true
      - `debug` boolean, nullable — Enables debug mode when true
      - `npa` boolean, nullable — No Personal Advertising - disables advertising features when true
      - `data_layer` string, nullable — Custom dataLayer name (alternative to "l" property)
      - `env_name` string, nullable — Environment name for environment-specific container
      - `auth_referrer_policy` string, nullable — Referrer policy for analytics requests
  - `google_analytics_4` UpdateGoogleAnalytics4Integration, nullable — Partially update Google Analytics 4 integration configuration
    - `enabled` boolean — Whether the integration is enabled
    - `type` 'analytics' — The type of the integration for categorization
    - `config_data` GoogleAnalytics4IntegrationConfigProperties — Configuration data for the Google Analytics integration
      - `id` string — The Google Analytics measurement ID
      - `l` string, nullable — The datalayer's name you want data to be associated with
  - `equal_web` UpdateEqualWebIntegration, nullable — Partially update EqualWeb integration configuration
    - `enabled` boolean — Whether the integration is enabled
    - `type` 'accessibility' — The type of the integration for categorization
    - `config_data` EqualWebIntegrationConfigProperties — Configuration data for the Equalweb integration
      - `site_key` string — The EqualWeb Site Key
      - `widget_config` object

## Response `200`

The current integration configurations for a portal.

- PortalIntegrations — Configuration data for Dev Portal integrations
  - `google_tag_manager` GoogleTagManagerIntegration, nullable — Google Tag Manager integration configuration
    - `enabled` boolean, required — Whether the integration is enabled
    - `type` 'tracking', required — The type of the integration for categorization
    - `config_data` object, required — Configuration data for the Google Tag Manager integration
      - `id` string, required — The Google Tag Manager container ID
      - `l` string, nullable — Optional dataLayer variable name
      - `preview` string, nullable — Preview environment name
      - `cookies_win` boolean, nullable — Forces GTM cookies to take precedence when true
      - `debug` boolean, nullable — Enables debug mode when true
      - `npa` boolean, nullable — No Personal Advertising - disables advertising features when true
      - `data_layer` string, nullable — Custom dataLayer name (alternative to "l" property)
      - `env_name` string, nullable — Environment name for environment-specific container
      - `auth_referrer_policy` string, nullable — Referrer policy for analytics requests
  - `google_analytics_4` GoogleAnalytics4Integration, nullable — Google Analytics integration configuration
    - `enabled` boolean, required — Whether the integration is enabled
    - `type` 'analytics', required — The type of the integration for categorization
    - `config_data` object, required — Configuration data for the Google Analytics integration
      - `id` string, required — The Google Analytics measurement ID
      - `l` string, nullable — The datalayer's name you want data to be associated with
  - `equal_web` EqualWebIntegration, nullable — Equalweb integration configuration
    - `enabled` boolean, required — Whether the integration is enabled
    - `type` 'accessibility', required — The type of the integration for categorization
    - `config_data` object, required — Configuration data for the Equalweb integration
      - `site_key` string, required — The EqualWeb Site Key
      - `widget_config` object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/versions/f920f418f552/schema)
