Public/Get-GCLicenseOrganization.ps1

<#
.SYNOPSIS
    Retrieves the organization license information.

.DESCRIPTION
    Returns the license information for the organization in Genesys Cloud.
    Uses the GET /api/v2/license/organization endpoint.

.EXAMPLE
    Get-GCLicenseOrganization

.NOTES
    Genesys Cloud API: GET /api/v2/license/organization
#>

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

    $endpoint = "license/organization"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}