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? -
@ganr0307 I should have some time next week to check this out. Will let you know if I find anything.
-
@mark-robustelli Sure,Thanks!
If you find anything please let me know