deleteAuditSuppression method
Future<void>
deleteAuditSuppression({
- required String checkName,
- required ResourceIdentifier resourceIdentifier,
Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ThrottlingException.
Implementation
Future<void> deleteAuditSuppression({
required String checkName,
required ResourceIdentifier resourceIdentifier,
}) async {
final $payload = <String, dynamic>{
'checkName': checkName,
'resourceIdentifier': resourceIdentifier,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/audit/suppressions/delete',
exceptionFnMap: _exceptionFns,
);
}