---
title: "Update data source partially"
method: PATCH
path: "/data-sources/{selector}"
tags: ["DataSources"]
---

# Update data source partially

`PATCH /data-sources/{selector}`

## Path parameters

- `selector` string, required

## Query parameters

- `layer` 'universal' | 'integration' | 'connection'
- `integrationKey` string
- `integrationId` string
- `connectionId` string
- `connectionKey` string
- `instanceKey` string

## Request body

- UpdateDataSource
  - `uuid` string — Stable unique identifier (UUID). Can be provided on create; otherwise generated. Must be unique across elements of this type.
  - `key` string — Stable key for referencing the element (e.g. in selectors). Unique per (parent, integration) scope. Generated from name if not provided on create.
  - `name` string — Display name. Optional on create; used to generate key when key is omitted.
  - `description` string — Optional human-readable description.
  - `meta` object — Optional key-value metadata.
  - `integrationId` string — Internal ID of the integration this element belongs to. Omit for universal elements; set for integration-specific elements. Uniqueness of key is scoped per integration.
  - `integrationUuid` string — UUID of the integration; alternative to integrationId when creating from export. Resolved to integrationId by the API.
  - `integrationKey` string — Key of the integration; alternative to integrationId. Resolved to integrationId by the API.
  - `parentUuid` string — UUID of the parent element; alternative to parentId when creating (e.g. from export). Resolved to parentId by the API.
  - `parentKey` string — Key of the parent element; alternative to parentId. Resolved to parentId by the API.
  - `connectionId` string
  - `instanceKey` string
  - `isUniversal` boolean — When true, the element is universal (shared across all integrations). Requires universal-element access. Omit or false for integration-specific elements.
  - `externalAppId` string — Internal ID of the external app this element belongs to. Auto-populated from the integration when integrationId is set and the integration has an externalAppId.
  - `externalAppUuid` string — UUID of the external app; alternative to externalAppId when creating from export. Resolved to externalAppId by the API.
  - `externalAppKey` string — Key of the external app; alternative to externalAppId. Resolved to externalAppId by the API.
  - `dataSourceId` string
  - `universalDataSourceId` string
  - `udm` string
  - `pullUpdatesIntervalSeconds` number
  - `fullSyncIntervalSeconds` number
  - `collectionKey` string
  - `collectionParameters` object
  - `path` string
  - `defaultPath` string

## Response `200`

- DataSourceApiResponse — unresolved $ref

---

[API](https://skmtc.dev/getmembrane/apis/membrane-api.md) · [All operations](https://skmtc.dev/getmembrane/apis/membrane-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getmembrane/membrane-api/revisions/f8591a09da92/schema)
