Public/MIA/Remove-MIATask.ps1

function Remove-MIATask
{
    [CmdletBinding()]
    param (
        [Parameter(Mandatory)]
        [string]$TaskId
    )

    $response = Invoke-MIARequest -Method 'Delete' -Resource "tasks/$TaskId"
    Write-Output $response
}