Hello , I have read about the limit of 200 users when using GET request to list users. We have around 9000 user accounts, how can i modify the below curl command to get me every account ?
curl -v -X GET -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: SSWS ${api_token}" "https://${domain}/api/v1/users?" > /tmp/okta_dump.txt
I did read about the Pagination but couldn’t understand how to use pagination in the above curl command .
As a workaround, i tried running this way, but it errors our saying “Request not valid”. I don’t know what is wrong with the syntax. Looks OK to me and i copied this from the Documentation.
curl -v -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: SSWS ${api_token}" \
"https://${yourOktaDomain}/api/v1/users?filter=status+eq+\"ACTIVE\""
Can someone pls assist ?
Thanks a lot.