Public/Get-GCOrganizationFeatures.ps1

<#
.SYNOPSIS
    Retrieves the enabled features for the organization in Genesys Cloud.

.DESCRIPTION
    Queries the Genesys Cloud API to retrieve the list of features that are enabled
    for the current organization.
    API Endpoint: GET /api/v2/organizations/features

.EXAMPLE
    Get-GCOrganizationFeatures
    Retrieves the enabled features for the organization.

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

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

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