sendAdminUpgradeRequestEmailOnJoin method

Future<void> sendAdminUpgradeRequestEmailOnJoin()

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.

Implementation

Future<void> sendAdminUpgradeRequestEmailOnJoin() async {
  final response = await sendAdminUpgradeRequestEmailOnJoinWithHttpInfo();
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}