Hi,
{
"criteria": {
"objectTypes": [
{
"type": "USER",
"items": {
"type": 1,
"items": [
{
"type": 0,
"property": "accountDisabled",
"operator": "eq",
"values": [
{
"type": 6,
"value": false
}
]
}
],
"logicalOperator": "1"
}
}
]
},
"select": {
"properties": "employeeID,department,objectGUID,title,userPrincipalName,manager,employeeType,termDate,description,whenCreated"
}
}
I'm using the REST API to pull all the disabled users. BUt the query doesn't return any response.
Looking for those records whose
"accountStatus": {
"isDisabled": true,
Please share the right request JSON to get the required result.
Thanks,
Lohith