---
title: "Update a connection (name, enabled, rotate secret)"
method: PATCH
path: "/connections/{id}"
---

# Update a connection (name, enabled, rotate secret)

`PATCH /connections/{id}`

## Request

- Base URL: `https://worker.openhelm.ai/v1`
- URL: `https://worker.openhelm.ai/v1/connections/{id}`
- Auth: HTTP bearer

## Request body

- object
  - `name` string
  - `is_enabled` boolean
  - `secret` string: Rotates the stored secret.
  - `env_var_name` string

## Response `200`

OK

---

[API](https://skmtc.dev/openhelm/apis/openhelm-public-api.md) · [All operations](https://skmtc.dev/openhelm/apis/openhelm-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openhelm/apis/openhelm-public-api/revisions/2af88dc2f6a7?raw)
