deleteChannel method
Deletes an existing Channel.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
May throw UnprocessableEntityException.
Parameter id :
The ID of the Channel to delete.
Implementation
Future<void> deleteChannel({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/channels/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
}