Fetching Inactive Users - Limitation

Hi,

I'm using GET /api/v2/users?state=inactive to fetch inactive users list. However, the challenge is there are around 15000 records in our environment, so the page count stands at 150. I'm able to query until page 100 without any issue. Whenever I enter the page number as 101 in the query, I'm getting 400 Bad Request error.

Is there any limitation to the number of records we can retrieve using this endpoint? if yes, can you point to a method in using which I extract records more than 10,000.

PS: I even tried Search endpoint (POST /api/v2/users/search) with no positive results.

Thanks,
Hassan

Hi Hassan_Meeran,

The search service is being used to handle that query due to the state=inactive filter and search has a hard 10k limit. I would expect requesting state=any would allow getting more entries and they can apply the state filter on their own

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.