developer/api/v1/versions/Update-Version.ps1

function Update-Version
{
    [CmdletBinding(SupportsShouldProcess)]
    param(
        [Parameter(Mandatory)]
        [string] $AppAlias,
        [Parameter(Mandatory)]
        [object] $Version
    )

    if ($PSCmdlet.ShouldProcess($Version))
    {
        return Invoke-Api Put "/developer/api/v1/versions/$AppAlias/$($Version.alias)" -JsonBody $Version
    }
}