Public/Company/Configurations/Update-CWMCompanyConfigurationTypeQuestionValue.ps1

function Update-CWMCompanyConfigurationTypeQuestionValue {
    [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSShouldProcess', '', Justification = 'Used by sub-function')]
    [CmdletBinding(SupportsShouldProcess, ConfirmImpact='Medium')]
    param(
        [Parameter(Mandatory=$true)]
        [Alias('typeId')]
        [int]$grandparentId,
        [Parameter(Mandatory=$true)]
        [Alias('questionId')]
        [int]$parentId,
        [Parameter(Mandatory=$true)]
        [Alias('valueId')]
        [int]$id,
        [Parameter(Mandatory=$true)]
        [validateset('add','replace','remove')]
        [string]$Operation,
        [Parameter(Mandatory=$true)]
        [string]$Path,
        [Parameter(Mandatory=$true)]
        $Value
    )

    $Endpoint = "/company/configurations/types/$($grandparentId)/questions/$($parentId)/values/$($id)"
    return Invoke-CWMPatchMaster -Arguments $PsBoundParameters -Endpoint $Endpoint
}