- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
05-31-2022 11:43 AM
Hello ,
when we search accounts using API, response only returns 1st 100 accounts details and rest of the accounts are ignored. how can we return all accounts that matches search criteria ?
version running on : 10.5.
Use case: we need to retrieve all accounts in the safe along with account details including password and added to different safe. as manual move is difficult and time taking processes so cyberark support suggested to delete and re-add them to different safe.
05-31-2022 01:33 PM
Use the offset & limit parameters to get the next "page" of results.
For example if the original call was
https://<PVWA>/PasswordVault/api/accounts?offset=0&limit=100
Run https://<PVWA>/PasswordVault/api/accounts?offset=100&limit=100 to get the next 100 accounts.
There should also be a "nextLink" property returned in the data which contains the url string you can use to continue through the results.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

