---
title: "PATCH /api/channels/{id}"
method: PATCH
path: "/api/channels/{id}"
tags: ["channels"]
---

# PATCH /api/channels/{id}

`PATCH /api/channels/{id}`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/channels/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, uuid, required

## Headers

- `Api-Version` string

## Request body

- PatchChannelCommand
  - `channelId` string, uuid
  - `name` string
  - `domain` string
  - `revisionSelectionStrategy` string
  - `rangeRule` string
  - `activeRevisionId` string

## Response `200`

Success

## Changes

- **2023-07-21** `a75f8f8ae123`: 4 warning
  - removed the request property `environmentVariables` (media type: application/json-patch+json)
  - removed the request property `environmentVariables` (media type: application/json)
  - removed the request property `environmentVariables` (media type: text/json)
  - removed the request property `environmentVariables` (media type: application/*+json)
- **2023-04-20** `20422ac156da`: 4 info
  - added the new optional request property `domain` (media type: application/json-patch+json)
  - added the new optional request property `domain` (media type: application/json)
  - added the new optional request property `domain` (media type: text/json)
  - added the new optional request property `domain` (media type: application/*+json)
- **2023-03-10** `ea159bb388e0`: 12 breaking
  - the request property `environmentVariables/value` became not nullable (media type: application/json-patch+json)
  - the request property `environmentVariables/value` became not nullable (media type: application/json)
  - the request property `environmentVariables/value` became not nullable (media type: text/json)
  - the request property `environmentVariables/value` became not nullable (media type: application/*+json)
  - …8 more
- **2023-03-10** `4650ad92794e`: 1 breaking, 1 info
  - request body became required
  - added the new optional `header` request parameter `Api-Version`
- …earlier changes not shown

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/channels/:id/patch.md)

---

[API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [All operations](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/revisions/78d366daf86a?raw)
