---
title: "Update Data Connection"
method: PUT
path: "/connections/{data_connection_uuid}"
tags: ["Management"]
---

# Update Data Connection

`PUT /connections/{data_connection_uuid}`

## Request

- Base URL: `https://api.opti-x.optimove.net/api/data-connections/v1`
- URL: `https://api.opti-x.optimove.net/api/data-connections/v1/connections/{data_connection_uuid}`
- Auth: none declared

## Path parameters

- `data_connection_uuid` string, uuid, required

## Request body

- UpdateDataConnectionRequest
  - `description` string, required
  - `linked_dc_uuid` string, uuid4, nullable
  - `externalApiDetails` APIDetails: Parameters for calling an external API when performing a lookup for a Data Connection
    - `url` string, required
    - `http_method` 'GET' | 'POST', required
    - `headers` union
      - string
      - object
    - `body` union
      - string
      - object
    - `ttl` integer, nullable
    - `timeout` integer, required
    - `retries` integer, required
    - `is_batch_endpoint` boolean
    - `sample_placeholder_values` object
    - `placeholders` string[], nullable
    - `schema_discovery_url` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/optimove/apis/data-connections.md) - [All operations](https://skmtc.dev/optimove/apis/data-connections/llms.txt) - [OpenAPI document](https://skmtc.dev/optimove/apis/data-connections/revisions/a8ebd3fb21a1?raw)
