curl --location --request POST '/oauth/apps/instances' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "name='\''WINPC-4291'\'' AND status IN ('\''active'\'', '\''pending'\'')",
"distinct_count": "string",
"sort": "name desc, id",
"limit": 10,
"offset": 0,
"include_total_count": true
}'{
"pagination": {
"count": 0,
"total_count": 1000
},
"distinct_values": [
{
"value": null,
"count": 0
}
],
"items": [
{
"id": "8CA67511-744C-4D74-B26E-7281CF88712F",
"application_id": "030B484C-F0F3-46C7-B86A-9D02BF160DAA",
"application_name": "Asana",
"permissions": [
"https://www.googleapis.com/auth/drive.readonly"
],
"employee_name": "Joe Smith",
"employee_email": "joe.smith@example.com",
"last_consented": "2021-01-01T00:00:00Z",
"risk_score": 9.2,
"allowlisted": true
}
]
}