getDataRetentionPolicyWithHttpInfo method

Future<Response> getDataRetentionPolicyWithHttpInfo()

Get the global data retention policy

Gets the current global data retention policy details from the server, including what data should be purged and the cutoff times for each data type that should be purged. Minimum server version: 4.3 ##### Permissions Requires an active session but no other permissions. ##### License Requires an E20 license.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getDataRetentionPolicyWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/data_retention/policy';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <MmQueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}