deleteSchedule method

Future<void> deleteSchedule({
  1. required String channelId,
})

Delete all schedule actions on a channel.

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

Parameter channelId : Id of the channel whose schedule is being deleted.

Implementation

Future<void> deleteSchedule({
  required String channelId,
}) async {
  ArgumentError.checkNotNull(channelId, 'channelId');
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/prod/channels/${Uri.encodeComponent(channelId)}/schedule',
    exceptionFnMap: _exceptionFns,
  );
}