deleteDedicatedIpPool method

Future<void> deleteDedicatedIpPool({
  1. required String poolName,
})

Delete a dedicated IP pool.

May throw NotFoundException. May throw TooManyRequestsException. May throw BadRequestException. May throw ConcurrentModificationException.

Parameter poolName : The name of the dedicated IP pool that you want to delete.

Implementation

Future<void> deleteDedicatedIpPool({
  required String poolName,
}) async {
  ArgumentError.checkNotNull(poolName, 'poolName');
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v2/email/dedicated-ip-pools/${Uri.encodeComponent(poolName)}',
    exceptionFnMap: _exceptionFns,
  );
}