---
title: "Edit the data for the specified channel"
method: PUT
path: "/channels/{channel_name}"
tags: ["channels"]
---

# Edit the data for the specified channel

`PUT /channels/{channel_name}`

## Path parameters

- `channel_name` string, required

## Request body

- ChannelUpdateRequest
  - `name` string
  - `description` string
  - `privacy` 'private' | 'authenticated' | 'public' — channel privacy channel
  - `filters` ChannelFilters — Filter directives for mirroring operation. Fields are optional. Can't have include and exclude licenses together. This attribute is not returned by default in channels list
    - `conda` object
      - `include_licenses` string[] — List of license familities to look for. Empty array means all licenses
      - `exclude_licenses` string[] — List of license familities to look for. Empty array means all licenses
      - `include_specs` string[] — A list of MatchSpec strings, for including from excluded list General format is (channel(/subdir):(namespace):)name(version(build))[key1=value1,key2=value2]
      - `exclude_specs` string[] — A list of MatchSpec strings, for excluding specific packages. General format is (channel(/subdir):(namespace):)name(version(build))[key1=value1,key2=value2]
    - `cran` object
      - `include_licenses` string[] — List of license familities to look for. Empty array means all licenses
      - `exclude_licenses` string[] — List of license familities to look for. Empty array means all licenses
      - `include_specs` string[] — A list of MatchSpec strings, for including from excluded list General format is (channel(/subdir):(namespace):)name(version(build))[key1=value1,key2=value2]
      - `exclude_specs` string[] — A list of MatchSpec strings, for excluding specific packages. General format is (channel(/subdir):(namespace):)name(version(build))[key1=value1,key2=value2]
    - `python` object
      - `include_licenses` string[] — List of license familities to look for. Empty array means all licenses
      - `exclude_licenses` string[] — List of license familities to look for. Empty array means all licenses
      - `include_specs` string[] — A list of MatchSpec strings, for including from excluded list General format is (channel(/subdir):(namespace):)name(version(build))[key1=value1,key2=value2]
      - `exclude_specs` string[] — A list of MatchSpec strings, for excluding specific packages. General format is (channel(/subdir):(namespace):)name(version(build))[key1=value1,key2=value2]
  - `settings` ChannelSettings — Settings for cve notifications and other channel related activities.
    - `cve_notifications` object
      - `cve_score_increase` boolean — Do you want to see cve notifications when cve score increases?
      - `cve_score_decrease` boolean — Do you want to see cve notifications when cve score decreases?
      - `cve_status_change` boolean — Do you want to see cve notifications when cve status changes? Currently by default "active", "mitigated", "cleared" statuses are considered.
      - `cve_score_threshold` number — Threshold value for which score changes should be considered. If the value is -1, then no threshold is considered - Notifications will be shown for any score changes
  - `indexing_behavior` 'default' | 'frozen'

## Response `200`

successfully updated the channel

## Other responses

- `401` — Unauthenticated, no token is provided or token is invalid
- `403` — Access is forbidden
- `404` — The specified resource was not found
- `409` — Creating/updating resource raises a conflict
- `500` — Internal server error

---

[API](https://skmtc.net/anaconda/apis/anaconda-server-api.md) · [All operations](https://skmtc.net/anaconda/apis/anaconda-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anaconda/anaconda-server-api/versions/6aef0cb7a151/schema)
