Public/Get-GCTelephonyEdge.ps1
|
<# .SYNOPSIS Retrieves a single edge device from Genesys Cloud. .DESCRIPTION Queries the Genesys Cloud API to retrieve a specific telephony edge device by its ID. API Endpoint: GET /api/v2/telephony/providers/edges/{edgeId} .PARAMETER EdgeId The unique identifier of the edge device to retrieve. .EXAMPLE Get-GCTelephonyEdge -EdgeId 'edge-abc123' Retrieves the edge device with the specified ID. .NOTES Genesys Cloud API: GET /api/v2/telephony/providers/edges/{edgeId} #> function Get-GCTelephonyEdge { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$EdgeId ) $endpoint = "telephony/providers/edges/$EdgeId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |