Public/Abort-Task.ps1

<#
    .DESCRIPTION
    Wrapper for Nutanix API version 0.3.
 
    .NOTES
    Author: Timothy Rasiah
#>


function Abort-Task {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory=$true)]
        $Uuid
    )
    
    $response = Send-Request -method "POST" -endpoint "/tasks/$($Uuid)/abort"
    return $response
}