deleteMultiplex method

Future<DeleteMultiplexResponse> deleteMultiplex({
  1. required String multiplexId,
})

Delete a multiplex. The multiplex must be idle.

May throw BadGatewayException. May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter multiplexId : The ID of the multiplex.

Implementation

Future<DeleteMultiplexResponse> deleteMultiplex({
  required String multiplexId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/prod/multiplexes/${Uri.encodeComponent(multiplexId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteMultiplexResponse.fromJson(response);
}