src/api/ChannelsAPI.js
/**
   * DELETE /channels/{channelId}/moh
   *
   * Stop playing music on hold to the channel.
   *
   * @param {object} params
   * @param {string} params.channelId The id of the channel to stop music on hold.
   * @returns {Promise} Resolves when the music on hold has successfully stopped.
   *  Rejects when the channel is not found (status 404) or the channel is
   *  not in a stasis application (status 409).
   */
DELETE /channels/{channelId}/moh
Stop playing music on hold to the channel.

@param {object} params
@param {string} params.channelId The id of the channel to stop music on hold.
@returns {Promise} Resolves when the music on hold has successfully stopped.
Rejects when the channel is not found (status 404) or the channel is
not in a stasis application (status 409).
DELETE / channels / { channelId } / moh Stop playing music on hold to the channel . @param { object } params @param { string } params . channelId The id of the channel to stop music on hold . @returns { Promise } Resolves when the music on hold has successfully stopped . Rejects when the channel is not found ( status 404 ) or the channel is not in a stasis application ( status 409 ) .
stopMusicOnHold(params) {
    const { channelId } = params;
    const id = encodeURIComponent(channelId);
    return this._request({
      method: "DELETE",
      url: `${this._baseUrl}/channels/${id}/moh`,
    });
  }
stopMusicOnHold ( params ) { const { channelId } = params ; const id = encodeURIComponent ( channelId ) ; return this . _request ( { method : "DELETE" , url : ` ${ this . _baseUrl } ${ id } ` , } ) ; }
DELETE /channels/{channelId}/moh
 Stop playing music on hold to the channel.
DELETE / channels / { channelId } / moh Stop playing music on hold to the channel .