src/api/BridgesAPI.js
/**
   * POST /bridges/{bridgeId}/removeChannel
   *
   * Remove a channel from a bridge.
   *
   * @param {object} params
   * @param {string} params.bridgeId The identifier of the bridge to remove
   *  the channels from.
   * @param {string|Array.<string>} params.channel The channel or list of
   *  channels to remove from the bridge.
   * @return {Promise} Resolves if the channels are successfully removed from
   * the bridge. Rejected if one of the channels is not found (status 400),
   * the bridge could not be found (status 404), the bridge is not in the
   * Stasis application (status 409), or one of the channels is not in the
   * bridge (status 422).
   */
POST /bridges/{bridgeId}/removeChannel
Remove a channel from a bridge.

@param {object} params
@param {string} params.bridgeId The identifier of the bridge to remove
the channels from.
@param {string|Array.} params.channel The channel or list of
channels to remove from the bridge.
@return {Promise} Resolves if the channels are successfully removed from
the bridge. Rejected if one of the channels is not found (status 400),
the bridge could not be found (status 404), the bridge is not in the
Stasis application (status 409), or one of the channels is not in the
bridge (status 422).
POST / bridges / { bridgeId } / removeChannel Remove a channel from a bridge . @param { object } params @param { string } params . bridgeId The identifier of the bridge to remove the channels from . @param { string|Array . } params . channel The channel or list of channels to remove from the bridge . @return { Promise } Resolves if the channels are successfully removed from the bridge . Rejected if one of the channels is not found ( status 400 ) the bridge could not be found ( status 404 ) the bridge is not in the Stasis application ( status 409 ) or one of the channels is not in the bridge ( status 422 ) .
removeChannel(params = {}) {
    const { channel, bridgeId } = params;
    const id = encodeURIComponent(bridgeId);
    return this._request({
      method: "POST",
      url: `${this._baseUrl}/bridges/${id}/removeChannel`,
      params: { channel: [].concat(channel).join(",") },
    });
  }
removeChannel ( params = { } ) { const { channel , bridgeId } = params ; const id = encodeURIComponent ( bridgeId ) ; return this . _request ( { method : "POST" , url : ` ${ this . _baseUrl } ${ id } ` , params : { channel : [ ] . concat ( channel ) . join ( "," ) } , } ) ; }
POST /bridges/{bridgeId}/removeChannel
 Remove a channel from a bridge.
POST / bridges / { bridgeId } / removeChannel Remove a channel from a bridge .