Public/MIT/Remove-MITUser.ps1

1
2
3
4
5
6
7
8
9
10
function Remove-MITUser {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory)]
        [string]$Id
    )

    $response = Invoke-MITRequest -Method 'Delete' -Resource "users/$Id"
    Write-Output $response
}