Public/Get-GCDataPrivacySettings.ps1

<#
.SYNOPSIS
    Retrieves data privacy settings.

.DESCRIPTION
    Returns the data privacy settings for the organization in Genesys Cloud.
    Uses the GET /api/v2/dataprivacy/settings endpoint.

.EXAMPLE
    Get-GCDataPrivacySettings

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

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

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