deleteInboxRulesets method

Future<void> deleteInboxRulesets({
  1. String? inboxId,
})

Delete inbox rulesets

Delete inbox rulesets. Accepts optional inboxId filter.

Parameters:

  • String inboxId: Optional inbox id to attach ruleset to

Implementation

Future<void> deleteInboxRulesets({ String? inboxId, }) async {
  final response = await deleteInboxRulesetsWithHttpInfo( inboxId: inboxId, );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}