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

# PATCH /ChannelConfigs/{id}

`PATCH /ChannelConfigs/{id}`

## Path parameters

- `id` string, required

## Query parameters

- `api-version` string

## Request body

- ChannelConfig
  - `id` string, nullable — The unique id of the application.
  - `applicationConfigId` string, required — The application config id.
  - `channelIdPattern` string, required — The channel id pattern. Example: "12345" or "*"
  - `recordingEnabled` boolean, nullable — Gets or sets whether recording is enabled.
  - `default` boolean — Gets or sets the default channel.
  - `priority` integer
  - `connectionStatsInterval` integer, nullable
  - `bandwidthAdaptationPolicy` 'Disabled' | 'Enabled' — RTP packet header Extension support policies.
  - `codec` CodecConfig
    - `vp8` Vp8Configuration
      - `disabled` boolean
      - `bitrate` integer, nullable
    - `vp9` Vp9Configuration
      - `disabled` boolean
      - `bitrate` integer, nullable
    - `h264` H264Configuration
      - `disabled` boolean
      - `bitrate` integer, nullable
    - `opus` OpusConfiguration
      - `disabled` boolean
      - `bitrate` integer, nullable
    - `g722` G722Configuration
      - `disabled` boolean
    - `pcmu` PcmuConfiguration
      - `disabled` boolean
    - `pcma` PcmaConfiguration
      - `disabled` boolean
  - `sfu` SfuConfig
    - `videoInput` VideoInputConfig
      - `maxBitrate` integer, nullable
      - `maxEncodings` integer, nullable
    - `videoOutput` SfuVideoOutputConfig
      - `simulcast` VideoSimulcastConfig, required
        - `enabled` boolean, nullable
    - `audioInput` AudioInputConfig
      - `maxBitrate` integer, nullable
      - `maxEncodings` integer, nullable
  - `mcu` McuConfig
    - `audioOutput` AudioOutputConfig
      - `quality` string, nullable
    - `videoOutput` VideoOutputConfig
      - `width` integer, nullable
      - `height` integer, nullable
      - `frameRate` integer, nullable
      - `layoutMargin` integer, nullable
      - `layoutCrop` boolean, nullable
    - `videoInput` VideoInputConfig
      - `maxBitrate` integer, nullable
      - `maxEncodings` integer, nullable
    - `audioInput` AudioInputConfig
      - `maxBitrate` integer, nullable
      - `maxEncodings` integer, nullable
  - `rtmp` RtmpConfig
    - `enabled` boolean, nullable — Gets or sets whether rtmp is enabled.
    - `url` string, nullable — The url to stream to. Example: "rtmp://live.twitch.tv/app"
    - `secretKey` string, nullable — Gets or sets the secret key required for the stream.
  - `recordingManagementOverride` RecordingManagementOverrideConfig
    - `muxDisabled` boolean, nullable
  - `videoEncodings` VideoEncodingConfig[], nullable
    - `bitrate` integer, nullable
    - `frameRate` number, double, nullable
    - `scale` number, double, nullable
  - `webhooks` ChannelWebhook[], nullable — Gets or sets the webhooks of the channel.
    - `channelConfigId` string, nullable
    - `name` string, nullable — Gets or sets the webhook name.
    - `url` string, nullable — Gets or sets the webhook URL.
    - `disabled` boolean — Gets or sets the disabled state of the webhook.
    - `batch` boolean — If multiple events are generated at the same time, we will send all the events together in one call to the Webhook URL instead of sending each event separately.
    - `reliable` boolean — In case of a network error, we will try to resend the event. The maximum number of attempts we try is 3.
    - `events` string[], nullable — List of Webhook events that have been enabled.
    - `id` string, nullable
    - `createdOn` integer
    - `createdBy` string, nullable
    - `modifiedOn` integer
    - `modifiedBy` string, nullable

## Response `200`

Success

---

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