---
title: "Update Connection"
method: PATCH
path: "/v1/openapi-connections/{connection_id}"
tags: ["v1", "protected", "openapi-connections"]
---

# Update Connection

`PATCH /v1/openapi-connections/{connection_id}`

## Path parameters

- `connection_id` string, uuid, required

## Request body

- OpenAPIConnectionUpdate
  - `auth_config_id` string, uuid, nullable
  - `base_url` string, nullable
  - `custom_headers` HeaderInput[], nullable
    - `name` string, required
    - `value` string
  - `description` string, nullable
  - `name` string, nullable
  - `spec_content` object, nullable
  - `spec_url` string, nullable

## Response `200`

Successful Response

- OpenAPIConnectionResponse
  - `auth_config_id` string, uuid, nullable
  - `available_tools` object[]
  - `base_url` string, required
  - `created_at` unknown, required
  - `custom_headers` HeaderOutput[], nullable
    - `name` string, required
    - `secret` boolean, required
    - `value` string, nullable
  - `description` string, nullable
  - `id` string, uuid, required
  - `name` string, required
  - `spec_url` string, nullable
  - `status` string, required
  - `updated_at` unknown, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-03-30** `e9c153221160` — 1 info
  - the `name/anyOf[subschema #1]/` request property's minLength was decreased from `1` to `0`

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/openapi-connections/:connection_id/patch.md)

---

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