Last active
October 30, 2018 05:41
Create SailPoint IdentityNow Role. Associated Blog Post can be found here https://blog.darrenjrobinson.com/managing-sailpoint-identitynow-roles-via-api-and-powershell/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create New Role Group | |
# Role Details | |
$body = @{ | |
"name" = "Role - Darren J Robinson"; | |
"displayName" = "Darren J Robinson"; | |
"description" = "Darren J Robinson Role"; | |
"disabled" = $false; | |
"owner" = "tenant_admin" | |
} | |
$body = $body | ConvertTo-Json | |
$createRoleURI = "https://$($orgName).api.identitynow.com/cc/api/role/create" | |
$createRoleGroup = Invoke-RestMethod -Method POST -Uri $createRoleURI -Body $body -WebSession $IDN -Verbose | |
$createRoleGroup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment