deleteInboxWithHttpInfo 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.
Note: This method returns the HTTP Response
.
Parameters:
- String inboxId (required):
Implementation
Future<Response> deleteInboxWithHttpInfo(String inboxId,) async {
// ignore: prefer_const_declarations
final path = r'/inboxes/{inboxId}'
.replaceAll('{inboxId}', inboxId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}