deleteSdiSource method

Future<DeleteSdiSourceResponse> deleteSdiSource({
  1. required String sdiSourceId,
})

Delete an SdiSource. The SdiSource must not be part of any SidSourceMapping and must not be attached to any input.

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 sdiSourceId : The ID of the SdiSource.

Implementation

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