---
schema_version: "1"
id: 86262c45e8e7ed7bed34b4dd8705453407d5ff12e429cdc7912c78c128953c62
title: ConnectApi.ManagedContentSpaceChannelInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_managed_content_space_channel.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_managed_content_space_channel.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7f18dbdd2ac21d565a0369560dd91213d17db73fc6954b1ffc8ce0d240a95902
description: Channel to add or remove from a managed content space.
---
# ConnectApi.ManagedContentSpaceChannelInputRepresentation

Channel to add or remove from a managed content space.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d670124e26">Property</th>
              <th class="featureTableHeader vertical-align-top " id="d670124e28">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d670124e30">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d670124e32">Required or Optional</th>
              <th class="featureTableHeader vertical-align-top " id="d670124e34">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d670124e26 d670124e34" data-title="Property"><samp class="codeph apex_code">channelId</samp></td>
              <td class="entry" headers="d670124e28" data-title="Type">String</td>
              <td class="entry" headers="d670124e30" data-title="Description"><span class="ph" id="channelId"><a name="channelId"><!-- --></a>ID of the channel to add or remove from the managed content
                  space.</span></td>
              <td class="entry" headers="d670124e32" data-title="Required or Optional">Required</td>
              <td class="entry" headers="d670124e26 d670124e34" data-title="Property">62.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d670124e26 d670124e34" data-title="Property"><samp class="codeph apex_code">operation</samp></td>
              <td class="entry" headers="d670124e28" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#ManagedContentSpaceChannelOperationEnum"><samp class="codeph apex_code">ConnectApi.​ManagedContent​SpaceChannel​Operation</samp></a></td>
              <td class="entry" headers="d670124e30" data-title="Description">Operation to perform on the channel and managed content space.<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">Add</samp>—Add a channel to a managed content space.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">Remove</samp>—Remove a channel from a managed content space.
                  </li>
                </ul>
              </td>
              <td class="entry" headers="d670124e32" data-title="Required or Optional">Required</td>
              <td class="entry" headers="d670124e26 d670124e34" data-title="Property">62.0</td>
            </tr>
          </tbody>
        </table>

#### See Also

- [ConnectApi.ManagedContentSpaceChannelsInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_managed_content_space_channels.htm "Channels to add or remove from the managed content space.")