OCI Identity Cloud Service (IDCS) - How to Paginate the Records Returned by Oracle Identity Cloud Service (IDCS) For a REST API Query?
(Doc ID 2555604.1)
Last updated on SEPTEMBER 26, 2023
Applies to:Identity Cloud Service (IDCS) - Version N/A and later
Information in this document applies to any platform.
How to use pagination to throw all of the results returned by a query to the IDCS using REST API
By default any call to the REST API will return only the first 50 entries. For example, using GET <TENANT_BASE_URL>/admin/v1/AuditEvents will show all of the Audit Events from an IDCS instance but only retrieve the first 50.
We can see there are 276 items, but we only retrieved the first 50 (1 to 50).
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!