
OrliS.35424 (Customer) asked a question.
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?

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