updateCloudCustomerWithHttpInfo method

Future<Response> updateCloudCustomerWithHttpInfo(
  1. 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:

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,
  );
}