deleteProgram method

Future<void> deleteProgram({
  1. required String channelName,
  2. required String programName,
})

Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.

Parameter channelName : The name of the channel.

Parameter programName : The name of the program.

Implementation

Future<void> deleteProgram({
  required String channelName,
  required String programName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/channel/${Uri.encodeComponent(channelName)}/program/${Uri.encodeComponent(programName)}',
    exceptionFnMap: _exceptionFns,
  );
}