deleteAllInboxEmails method

Future<void> deleteAllInboxEmails(
  1. String inboxId
)

Delete all emails in a given inboxes.

Deletes all emails in an inbox. Be careful as emails cannot be recovered

Parameters:

Implementation

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