deleteAllInboxEmails method
Delete all emails in a given inboxes.
Deletes all emails in an inbox. Be careful as emails cannot be recovered
Parameters:
- String inboxId (required):
Implementation
Future<void> deleteAllInboxEmails(String inboxId,) async {
final response = await deleteAllInboxEmailsWithHttpInfo(inboxId,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}