deleteInbox method

Future<void> deleteInbox(
  1. String inboxId
)

Delete inbox

Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request.

Parameters:

Implementation

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