Public/Invoke-GCTelephonyEdgeReboot.ps1
|
<# .SYNOPSIS Reboots an edge device in Genesys Cloud. .DESCRIPTION Posts a reboot command to the Genesys Cloud API for a specific edge device. This will initiate a reboot of the edge hardware. API Endpoint: POST /api/v2/telephony/providers/edges/{edgeId}/reboot .PARAMETER EdgeId The unique identifier of the edge device to reboot. .EXAMPLE Invoke-GCTelephonyEdgeReboot -EdgeId 'edge-abc123' Initiates a reboot of the specified edge device. .NOTES Genesys Cloud API: POST /api/v2/telephony/providers/edges/{edgeId}/reboot #> function Invoke-GCTelephonyEdgeReboot { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$EdgeId ) $endpoint = "telephony/providers/edges/$EdgeId/reboot" return Invoke-GCApiRequest -Endpoint $endpoint -Method POST } |