updateCloudCustomerAddressWithHttpInfo method

Future<Response> updateCloudCustomerAddressWithHttpInfo(
  1. MmAddress mmAddress
)

Update cloud customer address

Updates the company address 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:

  • MmAddress mmAddress (required): Company address information to update

Implementation

Future<Response> updateCloudCustomerAddressWithHttpInfo(
  MmAddress mmAddress,
) async {
  // ignore: prefer_const_declarations
  final path = r'/cloud/customer/address';

  // ignore: prefer_final_locals
  Object? postBody = mmAddress;

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