Public/Set-GCRecordingSettings.ps1
|
<# .SYNOPSIS Updates recording settings in Genesys Cloud. .DESCRIPTION Sends a PUT request to the Genesys Cloud API to update the organization-wide recording settings configuration. API Endpoint: PUT /api/v2/recording/settings .PARAMETER Body The request body containing the updated recording settings. Should conform to the Genesys Cloud recording settings schema. .EXAMPLE $settingsBody = @{ maxSimultaneousStreams = 4 maxConfigurableScreenRecordingStreams = 2 } Set-GCRecordingSettings -Body $settingsBody Updates the recording settings with the specified configuration. .NOTES Genesys Cloud API: PUT /api/v2/recording/settings #> function Set-GCRecordingSettings { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [object]$Body ) $endpoint = "recording/settings" return Invoke-GCApiRequest -Endpoint $endpoint -Method PUT -Body $Body } |