Hi, I am using the official sailpoint powershell sdk to try and update roles and create new roles with criteria. I am stuck on the following error. Not sure where to go from here. Any help would be appreciated.
{"messages":[{"localeOrigin":"DEFAULT","text":"The request was syntactically correct but its content is semantically invalid.","locale":"en-US"},{"localeOrigin":"REQUEST","text":"The request was syntactically
| correct but its content is semantically invalid.","locale":"en-US"}],"detailCode":"400.1 Bad request content",
$RoleBody = '{
"id": {},
"name": "Office 1",
"description": "Office Role",
"owner": {
"type": "IDENTITY",
"id": "52465dhfdhdfhejrt53y43y",
"name": "user1"
},
"membership": {
"type": "STANDARD",
"criteria":{
"operation": "OR",
"key":{},
"stringValue":{},
"children": [
{
"operation": "EQUALS",
"key": {"type":"IDENTITY", "property":"attribute.office", "sourceid":{}},
"stringvalue": "1",
"children":{}
}
]
}
}
}'
new-role -role $RoleBody