Public/New-GCContentManagementWorkspace.ps1
|
<# .SYNOPSIS Creates a new content management workspace. .DESCRIPTION Creates a new workspace in the Genesys Cloud content management system. Uses the POST /api/v2/contentmanagement/workspaces endpoint. .PARAMETER Body The workspace definition object containing name and other properties. .EXAMPLE $wsBody = @{ name = 'Project Documents' } New-GCContentManagementWorkspace -Body $wsBody .NOTES Genesys Cloud API: POST /api/v2/contentmanagement/workspaces #> function New-GCContentManagementWorkspace { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [object]$Body ) $endpoint = "contentmanagement/workspaces" return Invoke-GCApiRequest -Endpoint $endpoint -Method POST -Body $Body } |