mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-07 12:47:50 +00:00
SDK templates
This commit is contained in:
14
cmd/sdk/powershell/patchEntitlement.ps1
Normal file
14
cmd/sdk/powershell/patchEntitlement.ps1
Normal file
@@ -0,0 +1,14 @@
|
||||
$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)
|
||||
}
|
||||
Reference in New Issue
Block a user