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

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

    if ($PSCmdlet.ShouldProcess($VersionAlias))
    {
        return Invoke-Api Post "/developer/api/v1/versions/$AppAlias/$VersionAlias/?action=stop"
    }
}