Public/New-GCResponseManagementLibrary.ps1
|
<# .SYNOPSIS Creates a new response management library. .DESCRIPTION Creates a new library in the Genesys Cloud response management system. Uses the POST /api/v2/responsemanagement/libraries endpoint. .PARAMETER Body The library definition object containing name and other properties. .EXAMPLE $libBody = @{ name = 'Customer Responses' } New-GCResponseManagementLibrary -Body $libBody .NOTES Genesys Cloud API: POST /api/v2/responsemanagement/libraries #> function New-GCResponseManagementLibrary { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [object]$Body ) $endpoint = "responsemanagement/libraries" return Invoke-GCApiRequest -Endpoint $endpoint -Method POST -Body $Body } |