---
title: "Change what a tunnel publishes."
method: PATCH
path: "/ingress/connectors/{id}"
tags: ["Ingress"]
---

# Change what a tunnel publishes.

`PATCH /ingress/connectors/{id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ingress/connectors/{id}`
- Auth: HTTP bearer

`auto_publish: true` publishes every app under its domain; `false`
publishes only hostnames chosen for it with
`set_ingress_hostname_choice`.

## Path parameters

- `id` integer, required

## Request body

- UpdateConnectorRequest
  - `auto_publish` boolean, nullable: Publish every worker-served hostname under the domain (true), or only hostnames chosen for this tunnel (false).

## Response `200`

- ConnectorView
  - `auto_publish` boolean, required
  - `created_at` string, date-time, required
  - `dns_provider_id` integer, nullable
  - `dns_target` string, nullable: Where published hostnames point.
  - `domain` string, required
  - `edge_port` integer, required
  - `external_id` string, nullable
  - `id` integer, required
  - `last_error` string, nullable
  - `name` string, required
  - `nodes` ConnectorNodeView[], required
    - `driver` string, nullable
    - `last_error` string, nullable
    - `node_id` integer, required
    - `node_name` string, required
    - `ready_connections` integer, nullable
    - `reported_at` string, date-time, nullable
    - `state` string, required
  - `provider` string, required
  - `publications` PublicationView[], required
    - `hostname` string, required
    - `last_error` string, nullable
    - `published_at` string, date-time, nullable
    - `state` string, required: `published`, `error`, or `stale` (its record points at a tunnel that was replaced; it is being published again).
  - `status` string, required

## Other responses

- `404`

## Changes

> 98 revisions in range; 1 not diffed.

- **2026-10-22** `d8a717162ef5`: 1 info
  - endpoint added
- **2026-10-22** `06005615b19e`: 1 breaking
  - api path removed without deprecation
- **2026-10-22** `7d41b820a372`: 1 info
  - endpoint added
- **2026-10-22** `add7f7b41ae2`: 1 breaking
  - api path removed without deprecation
- **2026-10-21** `842d42ed4659`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ingress/connectors/:id/patch.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/fdfa2df06ae7?raw)
