Public/Get-GCLicenseDefinitions.ps1

<#
.SYNOPSIS
    Retrieves license definitions.

.DESCRIPTION
    Returns a list of all available license definitions in Genesys Cloud.
    Uses the GET /api/v2/license/definitions endpoint.

.EXAMPLE
    Get-GCLicenseDefinitions

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

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

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