<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00008JO96lSADOkta Classic EngineIntegrationsAnswered2024-02-16T17:07:41.000Z2020-04-17T17:18:15.000Z2020-04-24T19:43:45.000Z

MatrixCareA.52973 (Customer) asked a question.

Okta list users pagination - Previous pages

Is there a way to get the previous pages with Okta's list users API pagination?

 

All i can see in the response headers is "self" (which is current page) and "next" (for the next page).

 

 

 

For example i have three buttons, <Previous> <Current> <Next>, in the custom tool that we're building, when i click on <Next> i can use the next link that i get in Okta API's response. But, what would be the URL to get the previous list after clicking on <Previous>?

 

 

One way that i could think of is store all the cursors, which are opaque, in the order and use those cursors in the search query parameters "before" and "after". But, the cursors are opaque and we're not sure if we get accurate set of users.

 


  • User15840164475707614483 (Vendor Management)

    Hi Tim, i have been able to determinate that the 'Previous' link header is not supported at the moment.Currently the Users list link headers support 'self' and 'next' only.

     

    You can find more information about API Pagination here: https://developer.okta.com/docs/reference/api-overview/#pagination

     

    Also this would be a good candidate to submit as a feature request via our Community page for evaluation to be included in a future release of the Okta product.

     

    Thank You,

    Adrian Popoaca

    Okta Global Customer Care

    Expand Post
This question is closed.
Loading
Okta list users pagination - Previous pages