Rest API call api.php/v1/users.json returns 10 users only
search cancel

Rest API call api.php/v1/users.json returns 10 users only

book

Article ID: 240040

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

 Rest API call https://<pam server>/api.php/v1/users.json returns 10 users only, even though we have over 1500 users defined in PAM.

 

Environment

Any PAM release as of April 2022.

Cause

The default limit for this API call, and many others, is 10, see the details on this call in the Settings > Api Doc page.

Resolution

Add parameter limit=0 to the URL, like https://<pam server>/api.php/v1/users.json?limit=0