updateCloudCustomerWithHttpInfo method
Future<Response>
updateCloudCustomerWithHttpInfo(
- MmUpdateCloudCustomerRequest mmUpdateCloudCustomerRequest
Update cloud customer
Updates the customer information for the Mattermost Cloud customer bound to this installation. ##### Permissions Must have manage_system
permission and be licensed for Cloud. Minimum server version: 5.29 Note: This is intended for internal use and is subject to change.
Note: This method returns the HTTP Response
.
Parameters:
- MmUpdateCloudCustomerRequest mmUpdateCloudCustomerRequest (required): Customer patch including information to update
Implementation
Future<Response> updateCloudCustomerWithHttpInfo(
MmUpdateCloudCustomerRequest mmUpdateCloudCustomerRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/cloud/customer';
// ignore: prefer_final_locals
Object? postBody = mmUpdateCloudCustomerRequest;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}