deleteInbox method
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:
- String inboxId (required):
Implementation
Future<void> deleteInbox(String inboxId,) async {
final response = await deleteInboxWithHttpInfo(inboxId,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}