Public/Get-GCAnalyticsDataRetentionSettings.ps1

<#
.SYNOPSIS
    Retrieves analytics data retention settings.

.DESCRIPTION
    Gets the current analytics data retention settings for the Genesys Cloud organization.
    Calls GET /api/v2/analytics/dataretention/settings.

.EXAMPLE
    Get-GCAnalyticsDataRetentionSettings

.NOTES
    Genesys Cloud API: GET /api/v2/analytics/dataretention/settings
#>

function Get-GCAnalyticsDataRetentionSettings {
    [CmdletBinding()]
    param()

    $endpoint = "analytics/dataretention/settings"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}