Files
sailpoint-cli/cmd/sdk/powershell/patchEntitlement.ps1
luke-hagar-sp ad8b3ba84f SDK templates
2023-06-26 12:06:47 -05:00

14 lines
381 B
PowerShell

$ENT = @(
@{
op = "replace"
path = "/privileged"
value = $false
}
)
try {
Update-BetaEntitlement -Id "2c9180848366cdc701837b78f5ce58be" -JsonPatchOperation $ENT
} catch {
Write-Host ("Exception occurred when calling Update-BetaEntitlement: {0}" -f $_.ErrorDetails)
Write-Host ("Response headers: {0}" -f $_.Exception.Response.Headers)
}