I'm trying to fetch a list of all applications on Okta, and a list of the users using each application.
However, sending a GET request to /api/v1/apps is resulting in an incomplete list of applications, and following a link to the users of each app is also incomplete.
Am I calling incorrectly? Or is there some reason that specific apps/users would not show up in the list?
Any help is appreciated.
EDIT: I am setting limit=10000 and still am missing users.
When a response exceeds the the maximum number of results, the results are paginated and a
Link header is added to the results.
HTTP/1.1 200 OK Link: <https://yoursubdomain.okta.com/api/v1/users?after=00ubfjQEMYBLRUWIEDKK>; rel="next" <https://yoursubdomain.okta.com/api/v1/users?after=00ub4tTFYKXCCZJSGFKM>; rel="self"
Note: It is important to follow these
Link header values instead of constructing your own URLs as query parameters or cursor formats may change without notice.
See the Okta documentation for pagination for more information.