<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
0D54z00007Wiie7CABOkta Classic EngineAuthenticationAnswered2024-04-12T22:29:41.000Z2022-03-23T15:42:37.000Z2022-03-24T18:15:26.000Z

OrliS.35424 (Customer) asked a question.

Is there a default limit of number of rules that are retrieved when calling get Rules for a Policy?

When calling GET /api/v1/policies/${policyId}/rules , is there a default limit for the number of rules that are retrieved? or that API retrieves all the rules of the given policy without paging by default?

Also in the docs it is not mentioned that paging is supported for this API, does it mean that we shouldn't use the 'limit' and 'after' query params?


  • ojovp (ojovp)

    Hello @OrliS.35424 (Customer)​ 

    I hope you are having a great day

     

    According to the documentation each Orgs can have a maximum of 2000 rules so I would say that this is the limit however the default limit of rules that are retrieved when calling get Rules for a Policy is not documented.

    In addition the link below indicate the details of okta pagination

     

    https://developer.okta.com/docs/reference/core-okta-api/#pagination

     

    I hope this helps

     

    have a great day ahead

    Regards 

     

    Henry E.

    Okta Inc

    Expand Post
This question is closed.
Loading
Is there a default limit of number of rules that are retrieved when calling get Rules for a Policy?