sendAdminUpgradeRequestEmailOnJoinWithHttpInfo method
POST endpoint for triggering sending emails to admin with request to upgrade workspace
An endpoint that triggers sending emails to all sys admins to request them to upgrade the workspace when a user tries to join the workspace ##### Permissions This endpoint should only be accessed in a Mattermost Cloud instance Minimum server version: 5.34 Note: This is intended for internal use and is subject to change.
Note: This method returns the HTTP Response
.
Implementation
Future<Response> sendAdminUpgradeRequestEmailOnJoinWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/cloud/subscription/limitreached/join';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}