FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. ganr0307
    3. Posts
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by ganr0307

    • RE: expired user search query

      @mark-robustelli Sure,Thanks!
      If you find anything please let me know

      posted in Q&A
      G
      ganr0307
    • 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?

      posted in Q&A
      G
      ganr0307