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

# PUT /api/channels/{id}

`PUT /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/put.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

- UpdateChannelCommand
  - `id` string, uuid, required
  - `name` string, required
  - `revisionSelectionStrategy` 'UseRangeRule' | 'UseSpecifiedRevision', required
  - `rangeRule` string, nullable
  - `activeRevisionId` string, uuid, nullable

## Response `200`

Success

## Changes

- **2023-03-10** `4650ad92794e`: 1 breaking, 1 info
  - request body became required
  - added the new optional `header` request parameter `Api-Version`
- **2022-10-03** `8543bec11b34`: 8 warning
  - removed the request property `certificateId` (media type: application/json-patch+json)
  - removed the request property `certificateId` (media type: application/json)
  - removed the request property `certificateId` (media type: text/json)
  - removed the request property `certificateId` (media type: application/*+json)
  - …4 more

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/channels/:id/put.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)
