---
updatedAt: 2026-08-01T11:27:33.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Update Channels

## Why Update a Channel?

Occasionally, when working with channels in your network, you may need to make changes or edit an existing channel. The Inventory Management API enables you to update a channel in your network, via the `PUT` command, using the `ChannelID`.

## API Syntax

When using the Update Channels API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

`PUT https://api.kevel.co/v1/channel/{ChannelID}`

Where:

* `PUT` - the type of API request being made.
* `https://api.kevel.co` - the URL for the request.
* `v1` - the API version.
* `channel` - the API endpoint being called.
* `ChannelID` - the ID associated with the channel.

> 📘 Note
>
> Make sure to set `Engine` to `0` in all requests.

> 📘 Clearing attribute values
>
> To unset or clear an attribute, set its value to `NULL`.

<br />

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "management-api-2",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.kevel.co"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-Adzerk-ApiKey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/channel/{ChannelID}": {
      "put": {
        "summary": "Update Channels",
        "description": "",
        "operationId": "update-channels",
        "parameters": [
          {
            "name": "ChannelID",
            "in": "path",
            "description": "The ID of the Channel",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "Id",
                  "Engine",
                  "Title",
                  "AdTypes"
                ],
                "properties": {
                  "Id": {
                    "type": "integer",
                    "description": "Required - cannot be changed",
                    "format": "int32"
                  },
                  "Engine": {
                    "type": "string",
                    "description": "Set to `0`",
                    "default": "0"
                  },
                  "Title": {
                    "type": "string",
                    "description": "Change title if you want"
                  },
                  "AdTypes": {
                    "type": "array",
                    "description": "This will reset the AdTypes associated with the Channel",
                    "items": {
                      "type": "integer",
                      "format": "int32"
                    }
                  }
                }
              },
              "examples": {
                "JSON": {
                  "value": {
                    "Id": 1234,
                    "Title": "New Channel Name",
                    "Engine": 0,
                    "AdTypes": [
                      5
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"Id\":1234,\n  \"Title\":\"New Channel Name\",\n  \"Commission\":0,\n  \"Engine\":0,\n  \"Keywords\":null,\n  \"CPM\":0,\n  \"AdTypes\":[5],\n  \"IsDeleted\": false,\n  \"CustomTargeting\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Id": {
                      "type": "integer",
                      "example": 1234,
                      "default": 0
                    },
                    "Title": {
                      "type": "string",
                      "example": "New Channel Name"
                    },
                    "Commission": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "Engine": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "Keywords": {},
                    "CPM": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "AdTypes": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "example": 5,
                        "default": 0
                      }
                    },
                    "IsDeleted": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "CustomTargeting": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X PUT -H \"X-Adzerk-ApiKey:$ADZERK_API_KEY\" -H \"Content-Type:application/json\" \"https://api.kevel.co/v1/channel/1234\" --data-binary '{\"Id\":1234,\"Title\":\"New Channel Name\",\"Engine\":\"0\",\"AdTypes\":[5]}'\n\n"
            },
            {
              "language": "javascript",
              "code": "const Adzerk = require('@adzerk/management-sdk');\nconst apiKey = process.env.ADZERK_API_KEY;\n\nasync function updateChannel() {\n  let specifications = await Adzerk.fetchSpecifications();\n  let client = await Adzerk.buildClient({apiKey, specifications});\n\n  let channel = await client.run(\"channel\", \"update\", {id: 1234, title: \"New Channel Name\"});\n  console.log(channel);\n}\n\nupdateChannel();"
            },
            {
              "language": "ruby",
              "code": "require \"adzerk\"\n\ndef update_channel()\n    client = Adzerk::Client.new(ENV[\"ADZERK_API_KEY\"])\n    channel_id = 12345\n    opts = client.channels.get(channel_id)\n    opts[:title] = \"Updated Title\"\n    pp client.channels.update(opts)\nend\nupdate_channel()"
            }
          ],
          "samples-languages": [
            "curl",
            "javascript",
            "ruby"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "X-Adzerk-Sdk-Version",
        "value": "Readme.io:ManagementAPI2"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```