@mark-robustelli Sure,Thanks!
If you find anything please let me know
G
Latest posts made by ganr0307
-
RE: expired user search query
-
expired user search query
I'm trying to query to get expired users in user search api but not getting any results.
here are the details:
curl --location 'http://localhost:9011/api/user/search'
--header 'Authorization: API KEY'
--header 'Content-Type: application/json'
--data '{
"search": {
"query": "{"range":{"expiry":{"lt":"now"}}}"
}
}'Response:
{
"expandable": [],
"total": 0,
"users": []
}I have one expired user supposed to get as response
can you help me, hoe to query to get expired users?