deleteNetwork method
Delete a Network. The Network must have no resources associated with it.
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 networkId :
The ID of the network.
Implementation
Future<DeleteNetworkResponse> deleteNetwork({
required String networkId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/prod/networks/${Uri.encodeComponent(networkId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteNetworkResponse.fromJson(response);
}