deleteThreatIntelSet method
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
May throw BadRequestException. May throw InternalServerErrorException.
Parameter detectorId
:
The unique ID of the detector that the threatIntelSet is associated with.
Parameter threatIntelSetId
:
The unique ID of the threatIntelSet that you want to delete.
Implementation
Future<void> deleteThreatIntelSet({
required String detectorId,
required String threatIntelSetId,
}) async {
ArgumentError.checkNotNull(detectorId, 'detectorId');
_s.validateStringLength(
'detectorId',
detectorId,
1,
300,
isRequired: true,
);
ArgumentError.checkNotNull(threatIntelSetId, 'threatIntelSetId');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/detector/${Uri.encodeComponent(detectorId)}/threatintelset/${Uri.encodeComponent(threatIntelSetId)}',
exceptionFnMap: _exceptionFns,
);
}