Public/Get-GCOrganizationSettings.ps1

<#
.SYNOPSIS
    Retrieves the organization settings from Genesys Cloud.

.DESCRIPTION
    Queries the Genesys Cloud API to retrieve the settings and configuration for the
    current organization. Returns the same organization information including settings.
    API Endpoint: GET /api/v2/organizations/me

.EXAMPLE
    Get-GCOrganizationSettings
    Retrieves the organization settings.

.NOTES
    Genesys Cloud API: GET /api/v2/organizations/me
#>

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

    $endpoint = "organizations/me"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}