src/api/BridgesAPI.js
/**
   * DELETE /bridges/{bridgeId}
   *
   * Shut down a bridge. If any channels are in this bridge, they will be
   * removed and resume whatever they were doing beforehand.
   *
   * @param {object} params
   * @param {string} params.bridgeId The identifer of the bridge to delete.
   * @returns {Promise} Resolves if the bridge is successfully deleted.
   *  Rejects if the bridge could not be found (status 404).
   */
DELETE /bridges/{bridgeId}
Shut down a bridge. If any channels are in this bridge, they will be
removed and resume whatever they were doing beforehand.

@param {object} params
@param {string} params.bridgeId The identifer of the bridge to delete.
@returns {Promise} Resolves if the bridge is successfully deleted.
Rejects if the bridge could not be found (status 404).
DELETE / bridges / { bridgeId } Shut down a bridge . If any channels are in this bridge they will be removed and resume whatever they were doing beforehand . @param { object } params @param { string } params . bridgeId The identifer of the bridge to delete . @returns { Promise } Resolves if the bridge is successfully deleted . Rejects if the bridge could not be found ( status 404 ) .
destroy(params = {}) {
    const { bridgeId } = params;
    const id = encodeURIComponent(bridgeId);
    return this._request({
      method: "DELETE",
      url: `${this._baseUrl}/bridges/${id}`,
    });
  }
destroy ( params = { } ) { const { bridgeId } = params ; const id = encodeURIComponent ( bridgeId ) ; return this . _request ( { method : "DELETE" , url : ` ${ this . _baseUrl } ${ id } ` , } ) ; }
DELETE /bridges/{bridgeId}
 Shut down a bridge.
DELETE / bridges / { bridgeId } Shut down a bridge .