updateInboxWithHttpInfo method
Update Inbox. Change name and description. Email address is not editable.
Update editable fields on an inbox
Note: This method returns the HTTP Response
.
Parameters:
-
String inboxId (required):
-
UpdateInboxOptions updateInboxOptions (required):
Implementation
Future<Response> updateInboxWithHttpInfo(String inboxId, UpdateInboxOptions updateInboxOptions,) async {
// ignore: prefer_const_declarations
final path = r'/inboxes/{inboxId}'
.replaceAll('{inboxId}', inboxId);
// ignore: prefer_final_locals
Object? postBody = updateInboxOptions;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PATCH',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}