Hello,
I am trying to update the membership criteria for an existing role through the following beta API call
API - https://{{tenant}}.api.identitynow.com/beta//roles/:id
{
"op": "replace",
"path": "/membership",
"value":{
"type": "STANDARD",
"criteria": {
"operation": "AND",
"key": null,
"stringValue": null,
"children": [
{
"operation": "EQUALS",
"key": {
"type": "IDENTITY",
"property": "accessRequestsVisible",
"sourceId": null
},
"stringValue": "true",
"children": null
},
{
"operation": "EQUALS",
"key": {
"type": "IDENTITY",
"property": "cloudLifecycleState",
"sourceId": null
},
"stringValue": "active",
"children": null
},
{
"operation": "EQUALS",
"key": {
"type": "IDENTITY",
"property": "firstname",
"sourceId": null
},
"stringValue": "Mark",
"children": null
}
]
}
}
}
Error: 400
The request was syntactically correct but its content is semantically invalid.
Any insights on what’s missing here…